sagemath / sage

Main repository of SageMath. Now open for Issues and Pull Requests.
https://www.sagemath.org
Other
1.19k stars 413 forks source link

texture map for 3d graphics #18525

Open 9343d2e0-59ba-4406-bd4f-c78e4cf1230e opened 9 years ago

9343d2e0-59ba-4406-bd4f-c78e4cf1230e commented 9 years ago

Implement a full-featured texture map for 3d plots. This should support colormaps, but also mapping opacity, ambient, specular, shininess, etc.

Colormaps were first implemented in #12212, but this implementation does not easily extend to more general texture maps.

Depends on #18526

CC: @ohanar @kcrisman

Component: graphics

Branch/Commit: public/texturemap @ d3a07db

Issue created by migration from https://trac.sagemath.org/ticket/18525

9343d2e0-59ba-4406-bd4f-c78e4cf1230e commented 9 years ago

Branch: public/plot3d

9343d2e0-59ba-4406-bd4f-c78e4cf1230e commented 9 years ago

Commit: e075486

9343d2e0-59ba-4406-bd4f-c78e4cf1230e commented 9 years ago
comment:2

Made some progress on this, but have to put it down for a little while now. There are probably errors in the current code.


New commits:

a8fdb01make TrianglePlot into a subclass of IndexFaceSet
d4e153aremove specialized rendering methods which were just using those of IndexFaceSet anyway
7ade942start of reorganizing color/texture stuff
e075486Merge branch 'public/plot3d' of git://trac.sagemath.org/sage into plot3d-backend
9343d2e0-59ba-4406-bd4f-c78e4cf1230e commented 9 years ago

Dependencies: 18526

9343d2e0-59ba-4406-bd4f-c78e4cf1230e commented 9 years ago

Changed commit from e075486 to d3a07db

9343d2e0-59ba-4406-bd4f-c78e4cf1230e commented 9 years ago

Changed branch from public/plot3d to public/texturemap

9343d2e0-59ba-4406-bd4f-c78e4cf1230e commented 9 years ago
comment:3

switch to correct branch and merged latest develop


New commits:

2ce9508basic texturemap class
0cc487dgetting started implementing texture maps. currently not tested at all
d3a07dbMerge branch 'develop' into public/texturemap