Copy link to clipboard
Copied
Hello Community, I am having an issue with Decals. Specifically, I am trying to add a screen image to the default Tablet model. But after adding the decal to the screen, I can scale it, but I cannot reposition it. Any idea what I am missing here?
Thanks Ares! I'll start there. Let me know if you figure out why the screen layer prevents mobing the decal.
Here is the reason and workaround. Glass Object is located in front of Screen and blocked access to screen pixels for selecting decal, but we are able to use rotate and scale handles.
Workaround
1. Hide Glass object before moving image
Also if we have only Glass and Screen objects we can add distances between them. Then after changing angel for camera (see middle tablet object) we can access to image and move it.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Can you try to create simple project to trest.
Does it works?
Copy link to clipboard
Copied
If I convert the sphere to a basic model and then place a decal I am able to move it around as I would expect.
Copy link to clipboard
Copied
If I convert the sphere to a basic model and then place a decal I am able to move it around as I would expect.
By @rossbb
then the issue is the way the model was made i.e, not to standard and part of the convert is to fix Uv map errors
Copy link to clipboard
Copied
It is the default tablet model supplied as a part of the base library. Where can I fond controls to fix UV Errors?
Copy link to clipboard
Copied
Here is a screenshot for Generating UV in Dn operation
Copy link to clipboard
Copied
Stil no luck. I generated teh UVs, but it is still not letting me move the decal. I tried to attach the files if you could to take a look, but the system won't let me.
Copy link to clipboard
Copied
Another really interesting observation: when I look at the logs for the tablet file, they show the decal being re-positioned, event though it is not moving on the screen at all.
I would be more concerned with the "file has changed" errors, but I believe that is simply a by-product of the image being on google drive. Also, I used the same image on the basic sphere, where it behaved correctly.
Here is a portion of the log:
"Info 182678756ms> This document has changed since it was last marked saved:
/scenes/scene/render_camera_n3d/local_transform => Properties have missmatching payloads.
gbl Info 182678756ms> Document "" has changed!
gbl Info 182678773ms> This document has changed since it was last marked saved:
/scenes/scene/render_camera_n3d/local_transform => Properties have missmatching payloads.
gbl Info 182678773ms> Document "" has changed!
gbl Perf 182679138ms> method "Viewable::draw" took 102.603361 msec
History Info 182680876ms> push "history.decalMove"
gbl Info 182681286ms> This document has changed since it was last marked saved:
/scenes/scene/render_camera_n3d/local_transform => Properties have missmatching payloads.
gbl Info 182681286ms> Document "" has changed!
gbl Perf 182681512ms> method "Viewable::draw" took 115.836211 msec
gbl Perf 182685108ms> method "Viewable::draw" took 102.402149 msec
gbl Perf 182685375ms> method "Viewable::draw" took 103.017248 msec
gbl Perf 182693544ms> method "Viewable::draw" took 101.942207 msec
gbl Perf 182694963ms> method "Viewable::draw" took 141.366558 msec
gbl Perf 182695159ms> method "Viewable::draw" took 137.403892 msec
gbl Perf 182696124ms> method "Viewable::draw" took 102.490948 msec
gbl Perf 182696880ms> method "Viewable::draw" took 109.458068 msec
gbl Perf 182697187ms> method "Viewable::draw" took 107.315741 msec
gbl Perf 182697340ms> method "Viewable::draw" took 107.979452 msec
gbl Perf 182697511ms> method "Viewable::draw" took 116.455388 msec
gbl Perf 182697665ms> method "Viewable::draw" took 112.479183 msec
gbl Perf 182697818ms> method "Viewable::draw" took 117.755493 msec
gbl Perf 182703969ms> method "Viewable::draw" took 109.405202 msec
gbl Perf 182704140ms> method "Viewable::draw" took 126.750303 msec
gbl Perf 182705416ms> method "Viewable::draw" took 118.525220 msec
pie_api Info 182705628ms> Saving to decal_base_color_2.psd: 2048 x 1536, 16 bpc, RGBA, Color Profile: sRGB IEC61966-2.1
pie_api Error182705630ms> EXCEPTION in PieImageData::save:
pie_api Error182705630ms> /Users/pie_jenkins/Documents/pie_jenkins/gitws-0/src/photoshop/adobepie/source/image.cpp(2527): Throw in function void pie::version_0::image::write(std::string, pie::version_0::dict)
Dynamic exception type: boost::exception_detail::clone_impl<pie::version_0::pie_exception>"
Copy link to clipboard
Copied
Aha! Thank you, I had the same issue with a model of a frame (with glass) on a pole model. Once I shut off the glass, I was able to adjust the position of my decal on the inner poster part.
Copy link to clipboard
Copied
did you generate a Uv for the entire model or just the part you need to add decals to... 'screen'?
also Adobe does not allow Dn files to be uploaded because they don't trust them... yes we know how dum that is but the bubble in charge of forums and libraries doesn't talk to the bubble in charge of Dimension
if you right click the Dn file and zip it then Adobe cloud will allow it for shares or you can use one of the 3rd party options around like drop box... the file would be very helpful and save a lot of time guessing
Copy link to clipboard
Copied
I generated UVs for the entire model.
Thanks for the suggestion to share the files via dropbox, here is the link: https://www.dropbox.com/s/a2sil2z9s5c856r/Basic%20Tablet%20Model.zip?dl=0
Thank you for all your help!
Copy link to clipboard
Copied
If you place image on Glass (layer) you will be able to move it. Not possible to move it on Screen (layer) (can't catch a reason) but I am able to resize only, Need investigation
Copy link to clipboard
Copied
Thanks Ares! I'll start there. Let me know if you figure out why the screen layer prevents mobing the decal.
Copy link to clipboard
Copied
Here is the reason and workaround. Glass Object is located in front of Screen and blocked access to screen pixels for selecting decal, but we are able to use rotate and scale handles.
Workaround
1. Hide Glass object before moving image
Also if we have only Glass and Screen objects we can add distances between them. Then after changing angel for camera (see middle tablet object) we can access to image and move it.
Copy link to clipboard
Copied
nice
Copy link to clipboard
Copied
Awesome! Thank you!