New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature: imagemap wrapping #24

Closed
Theverat opened this Issue Dec 28, 2017 · 2 comments

Comments

Projects
2 participants
@Theverat
Member

Theverat commented Dec 28, 2017

Add the imagemap wrapping modes that were supported in Classic Lux: http://www.luxrender.net/wiki/Scene_file_format_1.0#imagemap

How to wrap the texture using "repeat", "black" (black beyond texture) or "clamp" (clamps to border color)

@Dade916

This comment has been minimized.

Member

Dade916 commented Jan 3, 2018

I have add ed the support for 4 wrap mode: "repeat", "black", "white" and "clamp" (default: repeat). They can be used with the new image map texture ".wrap" properties:

scene.textures.imagetex.type = imagemap
scene.textures.imagetex.file = resources/img/grid.png
scene.textures.imagetex.wrap = clamp
@Theverat

This comment has been minimized.

Member

Theverat commented Jan 3, 2018

Great, thanks!

@Dade916 Dade916 closed this Jan 4, 2018

LuxCoreRender v2.0 automation moved this from To Do to Done Jan 4, 2018

@Dade916 Dade916 self-assigned this Jan 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment