Latest Uploads
Shields 64x64

Pakz

Ffs_Spam

Jayenkai

Hives Screen shot

rychan

Rpg Potion Sprites

Pakz

Super Shap ... ration Kit

Andy_A

Platdude Spotting

Jayenkai

Code Snippets > Graphical Engines ( Created 28 June 2016 | Last Edited 28 June 2016)

Thousands of 3D Cubes by Jayenkai | No Votes
Written in
Blitz
Just checked out Pakz's random 3D map thing, and as nice as it is, it's a bit of a shame that he's using nothing but raw cubes.
I found a neat trick to speed up cube-rendering when doing my JNKPlat 3D 06 game, and thought it probably a good idea to post about it.

By chucking the cubes into larger meshes, it speeds things up a fair bit.

-->

Hopefully Pakz can make use of this information.

For further speeding up, you're better off creating your own mesh with only the visible sides being added to the mesh, but that's a whole lot of figuring out, and I'm far too lazy to do that


Note : Don't add too many meshes together, or your graphics card will have a whinge.
Milage may vary, depending on the graphics card..

Latest Comments

Posted : Friday, 01 July 2016, 02:49
Pakz


Nice example!

Years ago I did try to put everything into larger meshes. Did not bother this time since the speed seemed fast enough and I forgot a lot of things about 3d.

Homepage : http://cromdesi.home.xs4all.nl/
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 724|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Pokitto
Jayenkai Sun 02:00
Arduboy Owners Club
spinal Sun 01:35
Slow News
Jayenkai Sat 23:36
AGameAWeek : 2017 - Part One
Jayenkai Sat 08:31
Facebook Group
rskgames Fri 10:47
Possible LCD experimentation imminent.
steve_ancell Fri 10:30
1-2-...Never Mind
rockford Fri 07:12
Buy Zelda
rockford Wed 16:00
What Have You Done? - April 2017
rychan Wed 06:43
I Hear Voices
Jayenkai Tue 04:30
More

Latest Items
Showcase : Read Error A
Jayenkai Sat 08:28
Showcase : Hives
rockford Wed 12:53
Showcase : Quadoban
rskgames Fri 10:11
Blog : My Arduino experience.
steve_ancell Wed 17:02
Showcase : Roguelike Explorer
Pakz Fri 06:59
Showcase : Infinitron
Jayenkai Mon 07:50
News : Newsletter #311
Jayenkai Thu 17:27
Link : Super Shapes Exploration Kit
Andy_A Thu 11:09
Dev-Diary : Sensitive - Arduboy!
rychan Thu 17:27
Snippet : Skylines
steve_ancell Tue 14:25
Dev-Diary : PS2 to N64 Adapter
spinal Sun 10:49
Link : Vector Tutorials/Help page.
Pakz Thu 23:00
Blog : mini project
spinal Sun 10:13
Snippet : Wall Tracing on Random Maps (rpg)
rskgames Wed 22:48
More

Who's Online
rychan
Sun, at 04:54
spinal
Sun, at 04:54
Krakatomato
Sun, at 04:23
Jayenkai
Sun, at 04:03
Pakz
Sun, at 00:57
rskgames
Sun, at 00:07
steve_ancell
Sat, at 20:01
Evil Roy Ferguson
Sat, at 15:43
rockford
Sat, at 10:31
zzoom
Fri, at 16:24
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.