Skip to content

u/three_three_two_two

In this archive from Jan 2021 to Mar 2022

0
posts
8
comments
0
media
17
score

The thing with marching cubes is that it's pretty limited in the shapes it can make, but it does have a distinctive look that works well with what you're going for, i gather. It's probably something you did already, but if you didn't, change your cube corners' status of filled/empty from a bool to a float so you can interpolate the position of the vertices based on that, it gives you just a little more of an organic look. Other than that... mesh slicing?

2 points

It does look a bit out of place. It's not really the colours or shape, but it's not consistent with the rest. It's lacking the highlights (brighter touches near the light) that are present on the bigger tree and even on the smaller dead tree in the top right. Contouring as well isn't the same. This tree has shaded contouring same as the rocks, while the bigger one has a solid black outline. Those kinds of differences do make the scene look a bit patched together. Choose a scheme and stick to it, it'll help make everything blend together better.

Edit: I'm talking about the tree near the character

2 points

I see two issues with this code, first you have an unclosed void Update { before your Start method, it's probably a typo ; second, for some reason VS is treating it as a miscellaneous file, not a code file, you can solve that by going to the file menu > move to > assembly-CSharp (or something like that, google it, i can't actually check right now).

Hope you figure it out!

2 points

A file extension by itself doesn't mean anything. You can change the extension of any file, it will still have the same data in it.

What changes, is how software identify that file, an extension is basically their id card, to tell a software what kinda data structure they should expect with that file.

But if you're making the software yourself, you can use any kind of data structure, with any extension you want, as long as you know how to read the file, and yes, you can reuse an existing extension.

Making you own extension is easy, just pick a combination of however many letters and numbers you want, and just say that the file has that extension when you write it to disk, even if you're using some known data format such as json, xml or even plain text. What matters is that you can read it.

Edit: I didn't answer the "why". Reasons are varied but usually, game files have a pretty unique data structure. No sense in trying to open a GTA V save in Minecraft, or a Witcher III asset file in The Last of Us. Their file format don't need the kind of portability others such as jpeg, avi, etc... do, and they have one specific purpose. Hence the often unique extension too.

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.