Message Boards Message Boards

GROUPS:

Make object glow inside semitransparent cylinder?

Posted 1 year ago
1627 Views
|
4 Replies
|
3 Total Likes
|

I would like to reproduce the left image (created by Blender) using Mathematica and Graphics3D (code attached). Somehow I was not able to make the little sphere inside the central cylinder as shiny as in the blender image (see my Mathematica images on the right), even though I used Glow for the colour of the sphere. Does anyone know how I could make the sphere much shinier so that it actually glows and does not look so dull as it is now? Is there anything possibility with Overlay? Thanks.enter image description here

Attachments:
4 Replies

You can try ImageCompose:

ImageCompose[g1, Graphics3D[{p1}, AbsoluteOptions[g1]]]

Perfect, that works. Thanks.

I don't think your problem is that "Mathematica didn't do it right". I see Mathematica DID insert glowing green when I look close.

Overlayed image is a nice but old trick but does not look like it was the problem.

Your problem seems to be you "luckily" got a color effect in blender - which didn't even render the image "right". In mathematica (the code for neither did you show), you did not pick COLORS (ex: a very bright colored yellow inside a light blue translucent would provide a bright green) - but you comlain in mm it's hard to see but you used a darker blue to cover it. Furthermore the blender image appears to be CULLED (the face taken off)

It even appears as if the blender model was specially made in blender to cut off the face (the darker blue face) to make the 2nd inner "very light blue" color the only visible surface between the ball and camera: which you didn't do in Mathematica, but could have.

But Mathematica clearly has that ability, to cull shapes using planes or even other shapes or even textures.

But you also didn't show code fore either Mathematica or Blender.

the blender image has a serious issue: neither end of the tube shows any "3d clues" for the outer darker blue cylinder, the darker blue shows only 2D clues. it's either a composite image or mistakenly rendered. only the lighter blue tube shows "3d visual clues"

I think Blender does ray tracing as well as "openGL" live graphics. 3D/GL won't any time soon look as good. Mathematica has only a minimal renderer that is not "mouse driven" (3rd part at that). blender likely has a great mouse interface mm is missing, that's very likely true - but blender hasn't any math or or sound engineering, so.

John, I did not complain about Mathematica, read my text carefully. I only want to know if Mathematica can do what I requested. Code was already attached (see initial question). Maybe you have a solution than the "old trick", which was a nice suggestion by Gianluca.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract