Jump to content

Questions about large worlds with Babylon.JS


HeadClot
 Share

Recommended Posts

1 hour ago, NasimiAsl said:

Nice! Looks way better with the texture and collision is working! The camera is moving a bit when not pressing though... not sure why.
Still slower than my current implementation though... go faster faster! :D
Target is 60fps on Nokia 3210 :P 

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...

Man, looks like this hasn't gone far. I popped over to see what progress has been made, haha
Well, I randomly had an idea. Here it is:

If I ever returned to SamacEditor / terrain painting, I would do this:

-Painting different materials are painted as masks
-During runtime, game will paint textures dynamically with a mask

This would allow the creation of terrainMaterials, which can be changed (tilesize, image file, and anything you could ever imagine), and would change the terrain instantly.

Optimization could be after your done creating, export new image file instead of a mask. This feature could be used to aid in editing (So a change in texture wouldn't require repainting of the entire scene), as well as dynamic possibilities (material data changing in-game, crazy stuff!), as long as babylon can manage texture changes quickly.

The beauty of this is this is all powered by html5 canvas, which is pretty optimized and also has loads of features available. 

So ye

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...