Forum Replies Created
-
AuthorPosts
-
D3PixelCustomer
Ok thanks Alexander.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerIt also does not reset the state of the frame header of an object that has been animated.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerSure OK. Will keep doing it that way and hope you guys can figure something out.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerHmm, it messes up if you have used the Parent puzzle. I was hoping it would un-parent (or reassign to world) as in the state when the gltf is first loaded.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerAh ha, yes great, found it under “Misc”. Thanks Alexander.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerThanks Yuri.
I was looking in the “Using Javascript” part of the docs where it is not mentioned.
Thanks again.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerAh, never mind, I just needed to refresh a few times!
3D Animation and Web3D services - www.d3pixel.co.uk
2019-09-14 at 2:34 pm in reply to: Workflow for cutting holes in geometry and preserving normals #18721D3PixelCustomerHi Ivan, that is great news! will test it out. Thanks.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerBoth will work, Mapping node work not only with the UVMap but with vectors too and to the same but in one node.
Open Decal2.blend and try it.EDIT: Found what the issue was, If an Image texture has “Clip” set then it won’t shade outside the clipping bound, it needs to have “Repeat” set for a Mapping node to work. However that messes up scale (as it now tiles) so in the case of Decals, the method I have used seems to be the only choice.
Blend file attached for anybody else interested.
Attachments:
You must be logged in to view attached files.3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerMapping node with scale=-1 can help.
I don’t think you can use a mapping node in this Generated flow due to the Object Texture Space origin being in the corner.
To get around that, you can Flip X scale with Vector using a Separate RGB -> Invert R-> Combine RGB
See Image attached.If you need to flip Y too then just add another invert on the green.
You can also feed a Value into the Invert Fac. 0=Normal, 1=Inverted which might help in Puzzles.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerThanks, that is useful. My method before was dumping things in a Collection that is excluded from export via Verge3D settings.
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomer@d3pixel Aswell I Kept thinking the whole night thinking about a way to solve it and working on an API to convert illustrator to Png file format for that sticker upload area, But Yaaaaaay the method you provided, from the sample you sent me, is 100% Working!
I’m happy with it.Glad to help.
As for Illustrator to PNG, you could ask your customers to export as vector SVG and use ImageMagick to convert to PNG if needed.
$image = new IMagick(); $image->setBackgroundColor(new ImagickPixel('transparent')); $image->readImageBlob($svg_data_as_string); $image->setImageFormat("png32");
Looking forwards to seeing your end product.
As an after thought, you might be able to set the image scale using ImageMagick from function call in your puzzles, this may look better if you run into problems with Value scale.
https://www.php.net/manual/en/imagick.scaleimage.php
3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerAlso, if you want Move + Scale via Value nodes then edit the node tree like the attached image (or open the new blend file attached).
Although Scale using Generated seems to have its origin in the lower left corner whereas Object would be center scaled, but don’t think Verge can use Object coordinates though.
Attachments:
You must be logged in to view attached files.3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerHad a little play with this as can not sleep. Not entirely sure it is what you want but it is a Generated decal/sticker node setup.
Attached example file and screen shot.
Attachments:
You must be logged in to view attached files.3D Animation and Web3D services - www.d3pixel.co.uk
D3PixelCustomerQuick question, why are you using Generated and not normal UV Mapping for this?
3D Animation and Web3D services - www.d3pixel.co.uk
-
AuthorPosts