How to offset voxels ?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Kappes Buur
 
 
Posts: 4171
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

How to offset voxels ?

Post by Kappes Buur »

While it is easy to apply an offset to a sprite

Image

is there a way to apply an offset to a voxel ?

Image
Last edited by Kappes Buur on Sat Mar 22, 2014 9:39 pm, edited 2 times in total.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: How to offset voxels ?

Post by The Zombie Killer »

You would probably need to edit the voxel itself, as there doesn't appear to be any form of "ZOffset" setting in VOXELDEF.
User avatar
Kappes Buur
 
 
Posts: 4171
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: How to offset voxels ?

Post by Kappes Buur »

The Zombie Killer wrote:..... as there doesn't appear to be any form of "ZOffset" setting in VOXELDEF.
Yup, I noticed that, hence I am asking. But thanks anyway.

I downloaded an app named kvxoffset. However, it is to be run from the command line and there is no help attached to it,
or any kind of documentation.

Does anyone have some experience with this app ?
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: How to offset voxels ?

Post by The Zombie Killer »

kvxoffset is for auto-offsetting a voxel to be on the floor, as far as I know it doesn't allow custom offsetting.
User avatar
Kappes Buur
 
 
Posts: 4171
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: How to offset voxels ?

Post by Kappes Buur »

So, exactly the opposite to what I would like to achieve.

Thanks, again.
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: How to offset voxels ?

Post by Nash »

I think it should be a feature suggestion!
User avatar
Scientist
Posts: 60
Joined: Tue Jul 05, 2005 5:28 pm
Location: the Netherlands
Contact:

Re: How to offset voxels ?

Post by Scientist »

You can change the z-offset of a voxel object in 2 steps:
1. In Doombuilder set the Z-Offset of the thing (voxel).
2. In your decorate entry you need the add the "+NOGRAVITY" tag to the object.
User avatar
Kappes Buur
 
 
Posts: 4171
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: How to offset voxels ?

Post by Kappes Buur »

Scientist wrote:You can change the z-offset of a voxel object in 2 steps:
1. In Doombuilder set the Z-Offset of the thing (voxel).
2. In your decorate entry you need the add the "+NOGRAVITY" tag to the object.
1. right, you can give the voxel a z-offset, but as soon as the level starts the voxel falls to the floor.
2. since the voxel just replaces the sprite, there should be no DECORATE involved.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: How to offset voxels ?

Post by randi »

Open it in slab6 and move the origin down?
User avatar
Kappes Buur
 
 
Posts: 4171
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: How to offset voxels ?

Post by Kappes Buur »

randi wrote:Open it in slab6 and move the origin down?
That was my very first thought. However, Slab6 does not work on my system. The mouse is going crazy.
While MagicaVoxel works very well, I doesn't let me save anything.

Since you are suggesting Slab6, I take it, that something within VOXELDEF is not possible. :-(
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: How to offset voxels ?

Post by randi »

You can't even run it in DOSBox?
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

Re: How to offset voxels ?

Post by amv2k9 »

If you manage to get SLAB6 working, you can check out this tutorial I made that shows how to offset voxels in SLAB6.
User avatar
Kappes Buur
 
 
Posts: 4171
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: How to offset voxels ?

Post by Kappes Buur »

I finally have Slab6 running in a state where I can do something with the voxels.
Spoiler:
For those interested in knowing how I did the z-offset, you can read this.
Locked

Return to “Editing (Archive)”