Subject:
|
Re: Bricksmith 2.4: Faster. Much Faster.
|
Newsgroups:
|
lugnet.cad.dev.mac
|
Date:
|
Wed, 16 Jun 2010 22:52:23 GMT
|
Viewed:
|
36729 times
|
| |
| |
In lugnet.cad.dev.mac, Alex Taylor wrote:
snip
|
|
Only problem with the highlevel part approach is you cant support mirrored
submodels higher up in the rendering tree (like eg the star destroyed mpd
uses) cause it will mess up the normals. Or did you find a way around that?
|
Change the cull-face orientation ;-)
|
snip
Duh, I was over thinking it big time. Thinking scaling etc would f-up the
normals, but with mirroring they will stay the same length. So you are right all
I have to do is check if its an mirror matrix and then change the OpenGL
culling direction for all the subparts.
Thanks.
|
|
Message is in Reply To:
| | Re: Bricksmith 2.4: Faster. Much Faster.
|
| (...) One drawback with VBOs is that - unlike displaylists - you can't stick arbitrary GL calls in them. I'm using lists because I need to be able to put matrix operations in them as well as geometry. (...) Change the cull-face orientation ;-) (...) (...) (14 years ago, 16-Jun-10, to lugnet.cad.dev.mac, FTX)
|
21 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|