Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

RV: Re: Drawing transparent objects.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30289] RV: [mg30223] Re: Drawing transparent objects.
  • From: "Emilio Martin-Serrano Sobrino" <emilio.martin at sema.es>
  • Date: Sun, 5 Aug 2001 16:18:34 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Johannes,

I have occasionally used a tricky and non-canonical form to simulate
transparency. Tray using coloured meshes instead of "solid" surfaces. This
allows for the hidden parts to be seen; so creating the illusion of
transparency, as in the attached notebook. This approach, of course, demands
some trial and error exercise, but the results are occasionally good enough.


One more thing, the attached notebook uses the David Park's Packages for his
Drawing Cube paradigm, and also contains some of hints he gave me to deal
with the example.

[Contact the author to obtain the notebook mentioned above - moderator]

Emilio.

 

-----Mensaje original-----
De: Jens-Peer Kuska [mailto:kuska at informatik.uni-leipzig.de]
Enviado el: viernes, 03 de agosto de 2001 4:56
Para: mathgroup at smc.vnet.net
Asunto: [mg30223] Re: Drawing transparent objects.


Hi,

Mathematica does not support transparence
for PostScript (only PostScript level 3 does this).

The only solution is to switch to MathGL3d

http://phong.informatik.uni-leipzig.de/~kuska/mathgl3dv3/

and use the MVAlpha option of the MVShow3D[] command.

To get really good renderings of transparent
surfaces you should export the 3d opbjects form
MathgL3d to POVRay or RenderMen and add some
refraction. The reason for that is, the human
eye expect refraction on transparent surfaces
but OpenGL can't do that.

Contact me, if you have problems/questions
with transparence in MathGL3d.

Regards
  Jens

Johannes Ludsteck wrote:
>
> Dear MathGroup members,
> I would like to draw transparent three-
> dimensional objects
> (cuboids, graphs of functions and such things),
> i.e. objects with unfilled mesh.
> I searched the Mathematica book for a option or
> graphics directive, but didn't find one.
> Is there a simple way solve the problem or have I
> to do this by defining the graphics objects by
> hand?
>
> Thanks for your help and best regards,
>         Johannes Ludsteck
>
> <><><><><><><><><><><><><><><><><><>
> Johannes Ludsteck
> Institut fuer Volkswirtschaftslehre
> Lehrstuhl Prof. Dr. Moeller
> Universitaet Regensburg
> Universitaetsstrasse 31
> 93053 Regensburg
> Tel +49/0941/943-2741


  • Prev by Date: Re: Loading packages within packages
  • Next by Date: Re: Re: "Re: Centroid of the Earth's Surface"
  • Previous by thread: Export : LinkConnect::linkc: <1> is dead; attempt to connect failed.
  • Next by thread: Adding text at various X,Y locations on Multi-Function Graphs