Jump to content
3DCoat Forums
  • 1

Exporting raw voxel color


candela
 Share

Question

  • New Member

Hi,
3DCoat can export volume densities in a .rawvox file using the option "export raw voxel object" in the sculpt room.
Is there a way to also export the voxel colors in a similar format after brushing them on in the painting room ?

We are making an online game with destructible voxel objects and we directly import the .rawvox files into UE5.
I'm trying to make the voxel objects look better and having voxel colors would be a great starting point.

Thanks,

François
 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Version 2024.27 is out !


The RAW voxels export/import (useful to bring voxel to any your own engine) improved, now it may export import PBR data (color, gloss, metal).

This is important because this is the only way to get this sort of raw information out of 3DCoat.

Link to comment
Share on other sites

  • 0

Hi 

raw format is very simple, just values in 3D-grid that are set as bytes, words or float

___________________________________________________________
byte 0..255, 128 means surface
word 0..65535, 32768 means surface
float 0..1, 0.5 - surface

rawvox format

int Magic ‘RVOX’
int SizeX
int SizeY
int SizeZ
int bits_per_voxel - 8,16,32, 32 means float values

…raw voxel data…
___________________________________________________________

Link to comment
Share on other sites

  • 0
  • New Member

Right now the workflow is as follow:
- voxelize a fbx mesh in 3DC
- paint the voxel colors
- export to a .rawvox file
- directly import to unreal using a custom import script that I wrote
- generate the voxel mesh at runtime

The .rawvox file doesn't contain any color information. If there is a way to export them, I can modify my import script to load them.

  • Thanks 1
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
Answer this question...

×   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.

 Share

×
×
  • Create New...