Jump to content


Photo

The Voxel engin.


  • Please log in to reply
4 replies to this topic

#1 Dupl3xxx

Dupl3xxx
  • Members
  • 38 posts
  •  The true leader of man kind

Posted 17 February 2008 - 01:18 PM

I have some questions, does the YRenging (YRE) draw voxel dureing map load, or are they renderd in realtime?
Think about it. The game usually doesn't use more that 180-200mb of ram. On BIG maps. There are around 60-70 units buildable.
They need at least 32 flas angels.
60x32=1920.
There is 8 up faceings (ramps) and 8 down.
That makes 16 tilt frames. and on each tilt, it needs 32 faceings.
16x32=512.
Then there is the rocker weapons. there it needs at least a 180* rotation, on EVERY OF THE OTHER ANGELS.


1920 (all units flat) + 512 (all units tilt) = 2432

2432x180=437760.
and if each voxel needs 3kb of ram- 3kb x 437760 = 1313280kb, or 1313mb. Thats more that a gig of ram, just by the voxels. Than there is the mapfile itself, with all of the arework. and buildings, particels, infentry, and animations.

Then I wounder, how the heck does YR render voxels? I cann't imagein it useing flat images, but that is the fastest pre GPU, but über-kills your ram...

Is there anyone out there that knows something about this?
Did I calculate something wrong?
Anything?

#2 VK

VK

    title available

  • Hosted
  • 360 posts
  • Projects:NPatch, ETS, NEngine, etc

Posted 17 February 2008 - 02:15 PM

of course it don't draw voxels in memory.
Remember when YR was released 256 RAM was a lot.
it draw voxels in real time. also it have a cache, so if voxel didn't change direction, it not need process 3D and draw old 2D image.

also you don't see a lot of voxels at the same time usually. all voxels is rather small. so this isn't difficult to draw.
My site here: http://www.vk.cncguild.net - RP / NP / ETS / TOOLS.
Posted Image

#3 Dupl3xxx

Dupl3xxx
  • Members
  • 38 posts
  •  The true leader of man kind

Posted 17 February 2008 - 04:16 PM

Ahh, I see. Thank you ;)

On a sidenote, is there a chance in the world you could replace the engine that drws the voxel with a new one? Or try to modify the existing one to suport more normals?

#4 Guest_Mr Eko_*

Guest_Mr Eko_*
  • Guests

Posted 17 February 2008 - 08:19 PM

yes please update the voxel engine then you do a favor to the entire community VK

#5 raminator

raminator

    Humba, Humba, Humba Tätärä

  • Hosted
  • 1,600 posts
  • Location:Secret Volcanobase
  • Projects:ehmmm don´t tell you :P
  •  der Biermeister hat gesprochen

Posted 20 February 2008 - 09:23 AM

you could try to edit voxel.vpl
you might not get new normals but atleast more colors to use...
try to open it in a hexeditor and edit all 000000 to FFFFFF and suddenly the pink colors under the reds in the unitem.pal grt red too
Posted Image
if ^ does not work click here
I support Xeno getting well. Go Xeno!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users