OK I had figured out how it works, and I have read section 3.1, How do I use this with blender? I donât get how to render using the celshading, how is this used as a texture/material on my models?
If this is just a test to see if it works, then it works fine, no probs at all.
What you see there is the box being rendered with cel-shading. If you have a more complicated model, like of a person try it on that, it may give more pleasing results. I donât have any good examples showing off what this is capable of unfortunately.
===== Wed Jul 14 2004 ===== 20:17:15 America/New_York =====
===== Wed Jul 14 2004 ===== 20:17:17 America/New_York =====
Traceback (most recent call last):
File âcelshading.pyâ, line 343, in draw
File âcelshading.pyâ, line 316, in DrawPreview
IndexError: list index out of range
Traceback (most recent call last):
File âcelshading.pyâ, line 343, in draw
File âcelshading.pyâ, line 316, in DrawPreview
IndexError: list index out of range
That is the line where it accesses a faceâs material. If you donât have any materials it will crash like that. The plugin needs materials applied to the object, so it knows what each 1D texture applies to.
I tried the script and am very excited about the potential. I offers some great shading features!
When I loaded a more complex car model, the script would only ârenderâ one object: a tire. I was unable to apply the script to the entire model or to other parts of the model.
I read the PDF, but it didnât help me except with understanding the process applied in the script. I would really love some further instructions/a brief tutorial to know what Iâm doing wrong
===== Thu Jul 15 2004 ===== 18:05:29 America/New_York =====
Traceback (most recent call last):
File âcelshading.pyâ, line 343, in draw
File âcelshading.pyâ, line 316, in DrawPreview
IndexError: list index out of range
Heh, Iâm glad itâs a good start at least. There are a lot of npr techniques out there, perhaps other could augment this plugin with other techniques. You mentioned that you donât see practical use. However, this plugin can be used as a tool to write a cel-shaded game. That was my motivation in writing it anyway. By baked textures do you mean that it generates static 2D textures that can be applied to the mesh? Unless it is used for static scenes, I donât see any use in that, since an objects shading is dependent on its relation to the light source.
I have implemented some new features, however one depends on a newly added function to Image, getBindCode(). Once this new version of Blender is released Iâll release the updated script, which also fixes issues with the camera.