Quantcast
Channel: Questions in topic: "chunks"
Browsing all 165 articles
Browse latest View live
↧

How to load/save 'Chunks' near cam for mesh terrain?

Hi, I have a procedurally generated mesh, I want to be able to generate an 'infinite' amount of them. I have a rough idea on how to do this, but can't seem to put it into code. :/ I'm trying to have my...

View Article


Help with generating Chunks!

Hi, I am making a voxel, minecraft-style, but cannot figure out how to dynamically spawn chunks. Every tutorial I found was taking about spawning chunks from prefabs, but I am using PerlinNoise to...

View Article


Render area not working correctly

Hello! Ive been working on a feature for my game where a square shaped area around the player that contains chunks would be rendered, but outside of that, chunks will not be rendered. This is for lag...

View Article

Questions about voxel terrain(loading/saving and optimizing performance)

Hi, I am working on a cube world-type voxel game. I managed to generate chunks via PerlinNoise, but I got stuck when trying to save/load them using a text file. I looked all over the internet and...

View Article

What to do with "unloaded" gameObjects?

I'm working on a small 2D project that has a character moving around in a grid of tiles in a top-down fashion. I'm using chunks to reduce the processing load because it freezes a lot when generating...

View Article


A null value was found where an object instance was required.

I'm trying to add instantiated prefab to an array from another instantiated prefab A world manager instantiates chunks and tiles within those chunks. Both worldmanager, chunks and tiles are GameObjects...

View Article

Unity fails to load some chunks in my game

so i have this problem that each time i respawn my surrondings fail to load and almost every chunk are invisible please help and after now after i closed unity and re-opened it, i have the same problem...

View Article

Mesh per Chunk Vs. Mesh per Voxel

I am currently creating a minecraft like game and have been following a tutorial by AlexStv. In the tutorial he gets each chunk to collect the vertices, triangle, etc., information from each voxel and...

View Article


How to check visibility of inactive mesh?

How can I check if an inactive mesh is visible, so that if it is visible I can render it, but if it isnt keep it disabled? I want to continue making a chunk system but I don't wanna render meshes that...

View Article


Have multiple animated objects always on same frame with chunk loading/...

To explain i have multiple gameobjects with the same looping animation and im planning on using Frustum culling to help reduce the CPU, which is only activating the gameobject when it is within range...

View Article

Handling Chunk Generation and Player Coords?

I've already made a decent chunk generator with trees, splatmaps, etc. But I don't know how to make a system to make chunks when a player moves a certain way, or how to keep the player close to origin,...

View Article

How Can I make random level generation?

So i am trying to make a game that has the same level generation like minecraft. I am using all cubes. I know about the chunks but what i dont know how to do is to make the chunks. Do i make them by...

View Article

How to generate a grid from the center?

Without starting from one corner to another, but from the center and expands, because I'm learning ways to program my own chunk system. ~Thanks in advance.

View Article


How Do I Fix My Grass?

Hi im pretty new to unity but I have a decent amount of coding under my belt. Im trying to get a thick lush grass on my map but for some reason I cant seem to make it dense? Im thinking it may be a...

View Article

procedural mesh using tile assets

First some background: I'm creating a large chunk based tile map that is procedurally generated. Each chunk is roughly 32x32 hex tiles with various heights. All is good in the land of basic...

View Article


Confused on exactly how to utilize chunks.

So first time posting here. If I made any mistake with the location of my question just let me know and I'll move it or repost it. To my question though. I have gained a decent interest in game design...

View Article

Infinite world generation help C# (Like chunks)

Okay, so I have a very simple problem that I have no idea how to approach. I'm making a **2d Topdown game** and I would like chunks of space to load around my ship but as I move away from them they...

View Article


Minecraft clone, how to handle grass block colours

I'm working on a Minecraft clone at the moment as a way to learn more about procedural generation. I've got infinite generation going, Chunks that generates a single mesh each chunk from an array of...

View Article

Question about chunk loading prioritization.

I made small script and it creates chunks gradually, but right now I'm using the inconvenient method of loading from [x - distance] to [x + distance] that causes chunks to be loaded from one corner to...

View Article

Editing voxels @ chunk borders

At the moment I'm also editing the neighboring chunk if the current voxel is at the end(or beginning) of its chunk. I know that there is more cases when we are editing at edges and corners of each...

View Article
Browsing all 165 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>