maya - Wavefront (OBJ) Surface Rendering Issue -


i have wavefront (obj) files i've created molecular simulations. models in file created same way. however, of them have odd transparency (best word can find describe it) them when opened in editors (motionvfxs mobject , versions of maya, example). i've poured through docs , forums , can't find answer. if export .obj .dae (or convert original .obj number of ways), problem persists. missing simple?

you can see in screenshot:

img

both blue model , big white model should rendering same (except color) as, far can tell, settings identical. appreciated!

i posted links original files in comments (i don't have 10 rep, yet).

the normals second blob reversed. causes renderers , viewports interpret blob being "inside-out".

all have fix is:

  1. import maya
  2. select blob
  3. switch "polygons" menu-set.
  4. in menu, select normals -> reverse normals.
  5. export obj again.

if curious see normals, select blob , in menu click display -> polygons -> show face normals. same turn off again.

[edit spektre] yes you're right normals reversed 1 model

here screenshot obj loader (without materials) normals rendered (the green lines):

example

one model ok (normals pointing out) , second wrong (the lines not visible instead dots) messing rendering. if cant fix can turn off face culling (but affects performance bit)


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -