![]() |
#1 |
question about voxels...
Why do voxel models take a long time to load?
|
|
![]() |
![]() |
#2 |
Re: question about voxels...
Because Polymost requires that they be converted to polygons at load time.
|
|
![]() |
![]() |
#3 |
Re: question about voxels...
My voxel rendering code for OpenGL tries to reduce the polygon count by combining neighboring coplanar faces. At load time, I generate a skin to hold the color data for all the little pieces of various sizes. Doing this allocation is a tricky process, and that's what takes most of the loading time.
My allocator is far from optimal. It works fine for low-res voxel models, such as the ones that come with Shadow Warrior. For higher detail models, you really ought to use MD3 format. I love voxels and their nostalgic look, but they don't make sense in OpenGL. The loading process could be sped up by using a cache for the skin and related voxel data.
__________________
-Ken S.
Last edited by Awesoken; 12-07-2006 at 10:19 PM.
|
|
![]() |
![]() |
#4 |
Re: question about voxels...
|
|
![]() |
![]() |
#5 | |
Re: question about voxels...
I think Ken said it best:
Quote:
asking to turn off the converting required by the rendering engine doesn't make sense to me.
__________________
http://thaunandshad.com |
||
![]() |
![]() |
#6 |
Re: question about voxels...
You couldn't do that and still run in OpenGL. If you don't want them to be converted to polygons... run in Software mode.
__________________
I don't wanna be like other people are Don't wanna own a key, don't wanna wash my car Don't wanna have to work like other people do I want it to be free, I want it to be true Eduke32.com : The Rejected Applications : The Meadhall of the Comitatus |
|
![]() |
![]() |
#7 | |
Re: question about voxels...
Quote:
![]() |
||
![]() |
![]() |
#8 |
Re: question about voxels...
Ken, is there any way to merge the Eduke32 code with that program you made a while ago, where you could destroy all the environment shooting at it? It would be cool to have some selected walls where we could do that in Duke3d.
It could be implemented like a special sprite wall that looks 3d and you can shrink/expand in Mapster, just like any 3d Model. I dunno about the textures, would it be difficult to be able to select any texture from duke to a voxel sprite in Mapster?
__________________
My Facebook Page for Game Design, Check it out! My Youtube Channel, With mapster32 tutorials!
Last edited by DavoX; 01-02-2007 at 08:25 AM.
|
|
![]() |
![]() |
#9 |
Re: question about voxels...
I really doubt it. Theoretically it is possible, but theoretically dynamic lightning is also possible in duke, so i think you have your answer.
__________________
http://www.redlaine.tk |
|
![]() |
![]() |
#10 |
Re: question about voxels...
Dynamic Lightning has nothing to do with voxels. They aren't that familiar with the Code needed for Dynamic lightning. But Ken IS very familiar with the voxels code for instance it's more possible.
|
|
![]() |
![]() |
#11 |
Re: question about voxels...
It's already possible to make destructible sprite walls / bridges / structures in EDuke32. One way would be to build the walls by stacking up "brick" models, then add some code to make them behave appropriately when they are hit.
__________________
DUKE PLUS New map effects and various optional extras for Duke 3D. DUKE NUKEM: ATTRITION XP based weapon upgrades, progressive difficulty, and more. |
|
![]() |
![]() |
#12 | |
Re: question about voxels...
Quote:
__________________
-Ken S.
Last edited by Awesoken; 01-03-2007 at 05:34 PM.
|
||
![]() |
Bookmarks |
|
|