adding vertex at render
Naman Gupta <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.devel |
|---|---|
| Message-ID | <CAJ4hSG0+BM0_Q51O7Ce94SdRK7d6=UM=-0gHwizbWb7uaqqoGA@mail.gmail.com> |
Hi,
Do i have to take care of vertex buffer if i add vertex to an ocean
cell at Render( i mean in method GetRenderMeshes )? i wanted to do this to
increase vertex count at boundaries of an ocean cell so that it appears
connected. kind of like
[This]<http://img703.imageshack.us/img703/7939/untitle5d1.jpg>
nvidia is using two Draw calls one for inner meshes and one for outer
meshes. i'm not sure if same implementation could be possible in CS.
what is the difference between 'factory->isOcean()' and 'isOcean()'?
some other notes:-
= there was a slight jerk as we move along the ocean. I fixed it. wasn't a
big deal but atleast i understood the code. :)
= i found that if statement at line 886 of watermesh.cpp has
no significance.
- Naman
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop