[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
hey there fellows. I'm stumbling into so many tutorials
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /3/ - 3DCG

Thread replies: 19
Thread images: 5
File: grayscale.png (567 KB, 1094x3374) Image search: [Google]
grayscale.png
567 KB, 1094x3374
hey there fellows.

I'm stumbling into so many tutorials for creating 3D mashes from specific grayscale images, but I'm having a hard time finding how those images are made - some clever site says, maybe ironically, "they are made from 3D models".
Is there any tutorial on how to create 3D grayscale images from a picture?
>>
File: Heavy face.png (754 KB, 900x900) Image search: [Google]
Heavy face.png
754 KB, 900x900
> 3d mashes
>>
>>505334
>3d mashes
sorry for typo, it's meshes. I know.
>>
no you fucking retard
>>
File: example.jpg (174 KB, 1170x600) Image search: [Google]
example.jpg
174 KB, 1170x600
bump?
anyone knows how to get a usable 3D grayscale image from a standard image?

>pic related for example
>>
>>505333
The simple answer is, you can't.

Those greyscale images are heightmaps, which means that the different values represent height, where black = no elevation and white = maximum elevation.

A regular image really has no clear height data. It contains light reflected in all kinds of directions, and the different values do not represent height.

The complicated answer is that in some cases it can be approximated or faked.

There are some programs out there, like CrazyBump or AwesomeBump for example, that use some tricks to get height data from an image, but this works best for flat surfaces that does not have very complex lighting info, like brick walls, stucco surfaces, plain paper or fabric, etc.
>>
>>505343
thanks anon.
probably the only way to draw such images is to pull up your sleeves and do a paintjob in PS/Gimp but at most won't end up anything "good".
or the good old 3d modeling.
>>
>>505347

Well, I forgot to mention that in most cases they are indeed created from 3d models. It is the best way to ensure that you get the correct height data. It is a way of getting the detail and quality of a 3d mesh without actually needing the mesh.

A height map can, for example, be used in games for parallax mapping or displacement mapping.
>>
>>505348
aside from games, why would you need a height image from a 3D model, just to use to make *another* 3D model?

actually, as I am typing, came to my mind the idea that in a mesh model, for 3D printing for example, I only need to know the "skin" geometry. this would save space and minimize prototyping errors, right?
>>
Download Awesome Bump or install Insane Bump in Gimp, the instructions about how turn images into normal map or height map are on youtube
>>
>>505350

Aside from games, it would not have so much use (unless someone can give a good example).
The biggest benefit I can think of is saving memory on disk.

The essence of a heightmap is that it is a way of simplifying geometry data.
This means that instead of requiring a file to remember a huge load of vertex data, for example a huge landscape, detailed walls, ground or bark that consists of millions of polygons, the file would only need to save a simple mesh that can be tessellated (subdivided) and a texture.

I would not recommend using a heightmap for 3d printing. Unless someone can tell me it is a common practice, it would be ugly and possibly risky, due to it's nature.
>>
>>505352
today a customer walked in and asked for a ring with his "heraldic" crest (what a moron - but ok, it's work) on it, and gave me a hilriously big .tiff file (19MB) with an engraving drawing he used to make his stamp.

on a 3D book I used at school (Rhino3D, McNeel) I found this nice ZSurf command... but the book didn't tell from where the grayscale images came from. I thought there was some command in PS or similar to get them from images...
>>
>>505352
by any chance... how the heck one can get a heightmap image from a, let's say, .stl file?
>>
>>505354

I Googled it quickly, but Zsurf would have the same problem. You can use any image, but as long as that image does not have proper height data, it will always look strange.
>>
File: Rule of Dawn_02.jpg (134 KB, 1024x512) Image search: [Google]
Rule of Dawn_02.jpg
134 KB, 1024x512
>>505352

I've attached a picture of a height map I've made a few years ago for a game I was working on at the time. I don't think it actually ended up in the game, so I think it is safe to show here.

I made this heightmap in Photoshop by using separate layers that had the 'inner glow' and 'colour overlay' layer effects applied. this allowed me a lot of control and guaranteed relative smoothness of the gradients.
>>
>>505355

Heightmaps are greyscale images, where black = no elevation and white = maximum elevation. so you would need to reproduce that effect in the 3d software. There are several ways of doing that.

- use a shader that has a gradient along the axis that points towards the camera, so that the darkest value is furthest away from the camera and white the closest. (easiest)

- use a linear fog or mist, whereby the visible limits match the range of the 3d object you are using.

- use a non-shadowing directional light that casts light (with linear falloff) along the axis going away from the camera.
>>
>>505357
very interesting. I'll try this!

>>505360
uff. I forgot that Vray didn't come bundled with rhino. and Rhino may be good for working but it's pretty low level in terms of rendering. sigh.
>>
File: Rule_Of_Dawn_Symbol_B.jpg (122 KB, 768x768) Image search: [Google]
Rule_Of_Dawn_Symbol_B.jpg
122 KB, 768x768
>>505361

sorry anon, I realize posted the wrong image.

This is the actual height map image I used.
>>
>>505365
oh, thank you very much!
Thread replies: 19
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.