Jump to content
3DCoat Forums

[Solved] Problem with stencil lining up


 Share

Go to solution Solved by ClemChowder,

Recommended Posts

  • Member

I found my stencil only works properly when I'm using drawing mode (size is projected from camera, lined up perfectly)

I can use line tool as well. Like image one.

 But if I use any of the lasso tool, the geometry I created is not matching up with camera projection for some reason. (I'm working in orthographic btw)

Like Image two.

I'm using 4.9.55(dx)

Been searching for a reason for a while now, please help.

image.png

Image one is showing it works fine for drawing tools even for stamp tool.

 

image.png.0a7da81b92eb1acc2b36d057ae7f3bc9.png

I used a rectangular lasso build tool to cover the stencil image, getting a displaced, smaller patter on the geometry (I didn't move the stencil, this is the direct result).

image.thumb.png.3e540aff4bb7f249169d7588f57b3e20.png

Here is the setting bar. I didn't change any settings rather than just hit E to change the paint tool to lasso tool.

 

 

  • Member
5 hours ago, Carlosan said:

Hi

On voxel mode i am following your steps but I cant replicate this issue.

I am using 4.9.56

extrude.jpg

update*

This issue only occur whenever after I transformed the object bigger or smaller, I tried to apply it to global space or uniform space, didn't seem to help.

image.thumb.png.89b3d63809eca3f6794c61a7c6fbf6c2.png

In the picture, the thinner line is using the draw tool, which is matching the stencil projection.

  • Member

EDIT: I tried what Carlosan suggested (reset settings) and it works as expected.

 

Hi Carlosan , tested on 4.9.56GL, and it's not fixed.

Please try the following steps:

1. Create a voxel cube.

2. scale it, non uniform in one axis.

3. with RMB select to uniform space

4. in orthographic projection apply the stencil with a rectangle lasso...

not working as it should.

 

 

stencil_bug_4_9_56.jpg

Edited by geoath
issue fixed
  • Thanks 1

//Following geoath steps (see below), bug is still present. Reported.

 

I am following your steps and cant replicate, sorry

Try the command Reset Settings. Hope it help

steps.jpg

 

reset.jpg

  • Thanks 1
  • Member

Thanks, this worked! Tested on both DX/GL.

EDIT:

This didn't last too long...:unsure:

Carlosan, could you please try to scale the cube in an axis that affects depth only (not height or length? ) and repro the process again? (to uniform space ect)

When i tested (after reset) I scaled the cube like your screenshot ant it worked, but if i scale the cube like the image in my first post the problem insists.. weird isn't it?

 

box_scale.jpg

Edited by geoath
  • Like 1
  • Member
3 hours ago, geoath said:

Thanks, this worked! Tested on both DX/GL.

EDIT:

This didn't last too long...:unsure:

Carlosan, could you please try to scale the cube in an axis that affects depth only (not height or length? ) and repro the process again? (to uniform space ect)

When i tested (after reset) I scaled the cube like your screenshot ant it worked, but if i scale the cube like the image in my first post the problem insists.. weird isn't it?

 

I tried the exact same. Like you said, if I transform it on only one axis at a time, hit uniform space, then stencil will work as intended.

But if I scale the over all shape on all axis, it's bugged. Because I used it for concept art I transform them a lot, that's why mine is always bugged.

Also I can replicate this bug by resampling (without any transform). I also noticed that as the resolution goes higher, the projection will shrink.

  • Thanks 2
  • Member

Hi Hao!

This is a very ..tricky bug!

If you transform it only one axis at time, It looks that it's working, until you try to "squeeze" (scale down) it in any axis at a time.

In scale down it's not working.

Interestingly this doesn't happen if you try to "grow" (scale up) in any axis at a time.

At least this is how it behaves to me, and it is one reason I thought issue solved with reset settings. I couldn't imagine that it would behave different when scaling up and when scaling down.

That's why I call it a tricky bug..

- I can confirm that it doesn't work in uniform scale, as you already noted.

- I can also confirm It doesn't work when resample a voxel mesh.

(please note I tested only with voxels, not with surface mesh)

 

Edited by geoath
  • Thanks 2
  • 2 weeks later...

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
Reply to this topic...

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