Latest Uploads
Platdude Spotting

Jayenkai

Nom nom nom

Jayenkai

Rainbow Trout

Pakz

King Salmon

Pakz

Snooker

Jayenkai

You've ... o have you

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 569|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Laptop Aaargh...
Jayenkai Thu 13:40
London Car/Stab Incident
Jayenkai Thu 13:36
Watch Switch - Fitbit Blaze
Jayenkai Thu 07:04
GamerBlock
rockford Thu 06:50
Happy Birthday, Spinal
spinal Thu 03:26
Happy Birthday Evil Roy Ferguson
rockford Wed 16:21
Spinal's Return to Android
Jayenkai Tue 13:41
AGameAWeek : 2017 - Part One
Jayenkai Tue 08:10
Poll : Cooking
Jayenkai Mon 05:11
Happy Birthday, TheRevillsGames
Dabz Sun 23:32
More

Latest Items
Showcase : Infinitron
rychan Tue 03:02
Blog : My Arduino experience.
steve_ancell Mon 20:27
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
Showcase : Blockman Returns
Jayenkai Fri 03:04
Snippet : Wall Tracing on Random Maps (rpg)
rskgames Wed 22:48
Snippet : Path Following
Pakz Mon 16:25
Snippet : Flowers (Jan 2017)
Kuron Thu 01:13
Showcase : Clusters of Hex
therevillsgames Mon 15:01
Article : Maths 101 - Episode 1: Basic Trigonometry
shroom_monk Sun 14:07
Article : Maths 101 - Episode 5: Line Intersection
shroom_monk Sun 14:02
Dev-Diary : Normals and Dot products
Pakz Sat 20:37
Pets : Molly On The Couch
Jayenkai Thu 04:32
Snippet : Additive Particle Flames
Pakz Fri 18:12
More

Who's Online
Evil Roy Ferguson
Thu, at 17:36
Jayenkai
Thu, at 16:45
rockford
Thu, at 16:00
spinal
Thu, at 15:12
shroom_monk
Thu, at 14:35
steve_ancell
Thu, at 14:00
HoboBen
Thu, at 13:53
Andy_A
Thu, at 11:38
Pakz
Thu, at 10:03
rskgames
Thu, at 09:43
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.