To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 1056
1055  |  1057
Subject: 
Re: Bricksmith 2.4: Faster. Much Faster.
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Wed, 16 Jun 2010 20:14:54 GMT
Viewed: 
36424 times
  
In lugnet.cad.dev.mac, Roland Melkert wrote:
   Your method is roughly the same as what LD4DStdudio does, except I use VBO to stuff whole high level parts in index-ed arrays. The indices are then grouped per color (16 being also a color) so a minimum of glcolor’s are needed during rendering. So it seems display lists aren’t ‘less’ then VBO at all to me.


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.


   Only problem with the highlevel part approach is you can’t 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 ;-)


   Optimizations I was thinking of for my new renderer are using only triangles instead of 1 on 1 ld quads and triangles cause quads will be split by the driver anyway. (not sure if it’s actually faster doing it yourself but I’ll have to test that.)


I can’t say I’ve noticed the difference myself, but I suspect it’ll depend on the hardware and drivers as much as anything.


   The conditional lines are indeed a pain, normal lines can go in vbo/display lists much like the triangles but you have to test all conlines against the the current projection matrix for every redraw. I was planning to do this multithreaded (like LDView does).


See my previous post :-) Offload the grunt-work to the graphics-card, and it flies!


Alex



Message has 1 Reply:
  Re: Bricksmith 2.4: Faster. Much Faster.
 
In lugnet.cad.dev.mac, Alex Taylor wrote: <snip> (...) <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 (...) (14 years ago, 16-Jun-10, to lugnet.cad.dev.mac, FTX)

Message is in Reply To:
  Re: Bricksmith 2.4: Faster. Much Faster.
 
In lugnet.cad.dev.mac, Allen Smith wrote: <snip> (...) Thanks for the insight Allen, I'm also not a 3D guru, but I like to fool around with it as much as anyone interested in 3d programming. Your method is roughly the same as what LD4DStdudio does, (...) (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR