Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4993
| From | Roger Bagula <roger.bagula@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: applying a real texture in Mathematica |
| Date | 2011-09-16 09:52 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j4v69b$c7k$1@smc.vnet.net> (permalink) |
| References | <j4a21t$441$1@smc.vnet.net> <j4cnmd$hk9$1@smc.vnet.net> <j4kg78$kkf$1@smc.vnet.net> |
Working color texture:
x = (Exp[1 + Cos[t]] - 1)/(Exp[2])^3;
y = Sin[t]^3;
ParametricPlot3D[{y*Sin[p], y*Cos[p], 600*x}, {t, -Pi, Pi}, {p, -Pi,
Pi}, PlotPoints -> 200, Boxed -> False, Axes -> False,
PlotStyle -> {LightBlue, Specularity[White, 20]}, Mesh -> False]
g1 = ParametricPlot3D[{y*Sin[p], y*Cos[p], 600*x}, {t, -Pi,
Pi}, {p, -Pi, Pi}, PlotPoints -> 200, Boxed -> False,
Axes -> False, PlotStyle -> {LightBlue, Specularity[White, 20]},
ColorFunction -> (Hue[2 #4*#5] &)]
(* gives a textured model as obj and mtl files*)
(*Export["SinoidAsteriod.obj", g1]*)
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
applying a real texture in Mathematica Roger Bagula <roger.bagula@gmail.com> - 2011-09-08 09:31 +0000
Re: applying a real texture in Mathematica Roger Bagula <roger.bagula@gmail.com> - 2011-09-09 08:07 +0000
Re: applying a real texture in Mathematica Yves Klett <yves.klett@googlemail.com> - 2011-09-09 09:53 +0000
Re: applying a real texture in Mathematica Roger Bagula <roger.bagula@gmail.com> - 2011-09-12 08:34 +0000
Re: applying a real texture in Mathematica Roger Bagula <roger.bagula@gmail.com> - 2011-09-16 09:52 +0000
csiph-web