Jump to content


Photo

Reducing Black Dots on Voxels


  • Please log in to reply
8 replies to this topic

#1 lefthand

lefthand

    Free Agent

  • Members
  • 425 posts
  • Location:United States
  • Projects:Black Alert
  •  Propagandist

Posted 01 August 2006 - 11:28 PM

Is there anything that I can do to reduce the little black dots on a voxel when it is in game? I am using the Yuri scheme BTW.
Thank you in advance for anyone that can give me a workable solution on this!
Posted Image

#2 Jeeves

Jeeves

    I write the interwebz

  • Members
  • 4,156 posts
  •  Friendly neighborhood standards Nazi

Posted 01 August 2006 - 11:29 PM

I wanna know too!

World Domination Status: 2.7%


#3 Blade

Blade

    title available

  • Members
  • 503 posts

Posted 01 August 2006 - 11:59 PM

How did you make the voxels? I find they occur when you use 3DS>vxl and don't set the dot distance to something a good bit less than one (0.7 for example).

#4 lefthand

lefthand

    Free Agent

  • Members
  • 425 posts
  • Location:United States
  • Projects:Black Alert
  •  Propagandist

Posted 02 August 2006 - 12:05 AM

How did you make the voxels? I find they occur when you use 3DS>vxl and don't set the dot distance to something a good bit less than one (0.7 for example).


All of my voxels are handcrafted...I don't touch any of those 3D programs. I didn't resize anything but the voxel is about the same size of a carrier/drednaught. I should also mention that my voxel editor is abit dated...I am using VSE 1.1.
Posted Image

#5 Lee

Lee

    title available

  • Division Leaders
  • 2,313 posts
  • Location:Nottingham, England
  • Projects:Life
  • Division:Art & Design
  • Job:Division Leader

Posted 02 August 2006 - 01:24 AM

Large voxels do seem to have trouble once ingame. Yet im no voxeller so i cant help solve the issue.

Where is Gilbear when you need him? No really, where is he?

Posted Image

Posted Image




#6 Rattuskid

Rattuskid

    I used to be somebody noteworthy... I think

  • Members
  • 1,064 posts
  • Projects:Osmium (mostly dead), Immunizer (crib death) and Spritezkrieg (also crib death)
  •  Rattus Norvegicus (bitch)

Posted 02 August 2006 - 06:43 PM

You have to make the walls thicker. What you're seeing is the voxels on the other side where their index makes them black at that angle.
Being a total douche.

#7 BobingAbout

BobingAbout

    Serious Modder

  • Hosted
  • 1,288 posts
  • Location:Here
  • Projects:R:ROTC, Destructivality, Factorio Mods
  •  Coder

Posted 03 August 2006 - 08:26 AM

best solution i find is that you add an extra layer of thickness to your VXL, and DO NOT REMOVE REDUNDENT VXLS. the just copy the normals onto this surface, and when you see through the gaps, which usually gives you your black spots, you see a second surface behind it instead.
Posted Image
Posted Image

#8 Major_Gilbear

Major_Gilbear

    God-Emperor of Dune

  • Members
  • 1,745 posts

Posted 29 September 2006 - 06:11 PM

<Sigh> Weird how you can explain these things till you're blue in the face, and nobody will listen. Yet, when they want to know, it's as if they've never heard the answer before... :p


Basically, the 'black dots' are holes. They are showing the inside (unlit) part of the voxel, and so are dark. "But wait, my voxel has no holes!" you may cry. Well, it probably does even though you don't realise it.

On certain angles, you can see through the edges of the rows of voxels, and to solve the problem, you need to have a second layer with the same normals as the first. I'll try and show you what I mean with the diagrams below:


Example 1

A.........................
...........................
.................XX......
.............XX..........
.........XX..............
.....XX..................
...........................
.........................B


Example 2

C.........................
...........................
.................XXX....
.............XXX........
.........XXX............
.....XXX................
...........................
.........................D


Both of the above examples represent a slice through a voxel model, with the Xs depicting the voxels in section. Positions A and C represent the observer, with B and D being an unlit (ie, no/incorrect normals) point inside the voxel.

In Example 1, A can 'see' B through the edges of the voxels. In Example 2, C cannot 'see' D because there are extra voxels placed at the 'joins', which are shown by the Xs in bold.

As long as these extra voxels are the same colour and have the same normals as the other voxels on that facing, then the voxel's facing ingame will be unblemished by the 'black dots'. Bear in mind that selecting auto-optimisation tools (like the auto-removal of redundant voxels) usually remove all these extra voxels as well as the others inside a model, so if you use these functions don't forget to put them back in manually afterwards. Also, autonormals won't shade these extra voxels as they are 'inside' the voxel and therefore not caught by the tracer. You need to normalise these by hand by copying the nomals from the surrounding voxels onto the extra ones.


I hope that helps; better a proper explanation late than never I say! :p

#9 ihateharriers

ihateharriers

    Supreme Commander of Flying Squirrel Army

  • Hosted
  • 854 posts
  • Location:LALALALALALALALAND
  • Projects:YR: Air Wars, Sorta Secret Tiberian Thing, staying alive
  •  Flying Squirrels - Even Crazier Than Me!!

Posted 29 September 2006 - 06:17 PM

thanks for a proper explanation :p

i already knew this ( i think it was because of you?)and had i seen this topic i would have posted what you did, just without that pimpin pic of yours :p
Posted Image

Posted Image
Congrats, mate!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users