generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Rendering

Previous Thread :: Next Thread 
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
24 Jul 2016 11:29 AM
I want to make a rendering system, similar to minecraft (cringe), with a blocky look to the world. Now if I only want the visible blocks to actually be visible should I create "air blocks" to fill in gaps where there are no blocks and if a material block is adjacent to the air block then the material block will be visible else it would have a transparency of 1. Or should I just avoid using air blocks and just have blocks detect whether or not there is an adjacent block on every side (results would be the same as if there were air blocks), and if not, the block would return to its rendered, visible state. Which method would be more effective?


-inception101 (Trade, Development, Design)
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
24 Jul 2016 11:32 AM
create a 3d array, render only the topmost voxels, and then when the player destroys one of the rendered voxels, look at the adjacent ones in the array and render them.
Report Abuse
tyhender is not online. tyhender
Joined: 16 Feb 2012
Total Posts: 18
24 Jul 2016 11:44 AM
Kodran,he`s not actually asking for that. he justa sked about airbloxks
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
24 Jul 2016 11:46 AM
No, never use air blocks that's dumb. You're creating extra instances which has effectively the same amount of lag as if they weren't transparent.
Report Abuse
Tynezz is not online. Tynezz
Joined: 28 Apr 2014
Total Posts: 4945
24 Jul 2016 11:50 AM
Honestly doing some sort of rendering system would cause some additional lag and you should stick to ROBLOX built into one.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
24 Jul 2016 12:00 PM
StreamingEnabled is your friend.
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
24 Jul 2016 08:12 PM
So would steamingEnabled essentially render all blocks until the clients processing power reaches a specified limit to which roblox sets in advance? Thanks!


-inception101 (Trade, Development, Design)
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
24 Jul 2016 08:16 PM
I'm pretty sure it's determined by the user's graphics/quality settings :)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image