I'm working on a plugin of 3ds Max. In this plugin, I export the geometry information into a .rib file which can be rendered by a RenderMan renderer. When I export a nubrs curve's data into .rib file described by RiBasis and RiCurve. I use the RtBsplineBasis in RiBasis, but I get the wrong result that the rendered curve is short than the result of 3ds Max's renderer. Then I reprint the first and the last control vertex, the curve is long enough, but its shape is a little different.Who can tell me how I get wrong result or what does RiBasis mean? How can get correct RiBasis? Thank u very much!
What does RiBasis which is described in RenderMan mean?
228 Views Asked by mhsj At
1
There are 1 best solutions below
Related Questions in CURVE
- Chordal Catmull-Rom Splines
- shoulder detection on a segmented image
- How to transform a curve in a specific way
- Python finding a curve Length
- R- How to draw a curve that crosses specific points
- Polar curve equation with plus-minus sign (±) in Javascript
- Animation curve evaluate
- Three.js animated bezier curves
- how to make shape in svg like the image attached?
- intersection of interpolated line and an interpolated curve matlab
- Negative scale on SVG Bezier curve not working
- Maya Python How do I make a curve out of multiple collected points in a for loop
- Curve By Code how do i do it with this code?
- What is concept of degree at B-spline curve?
- de Casteljau algorithm Objective-C
Related Questions in 3DSMAX
- Safe frame calculation
- THREE: Controls are not smooth due to lots of models
- Three.js importing a character with skeleton from 3ds max
- Python scripting in 3dsmax
- Dot product with local axis in maxscript
- Need advice on best workflow to export from 3ds Max to three.js
- FBX Import At Runtime
- Run Python on MaxScripts
- load 3d model example using three js
- How can I clone an object in 3dsmax by maxscript without pop-out menu?
- three.js not displaying all meshes
- How do I edit Border using editable poly in 3ds Max?
- Quick and efficient way to transfer from an flt object with rgb/rgba textures to fbx with jpg/png textures
- Color correction matrix in 3DS max on texture
- Converting 3D Studio Max 8 scripts to 2011
Related Questions in NURBS
- point evaluation of NURBS curve given an axial coordinate
- How to find the surface control point for any given NURBS control point?
- Do anyone know how to raytrace NURBS of degree 2?
- Creating a smooth nurb from list of points
- How to define the control points for a NURBS Torus Primitive
- How to Extend NURBS Curve
- Maya Python: How do I parent these FK controls hierarchically?
- GLU NURBS rendered wrongly
- texture does not map the whole nurbs surface
- How to add a geomdl NURBS curve to an existing axis?
- NURBS surface to watertight stl
- Does increasing the weight of control points have any effect on the continuity of a B-Spline?
- Is there a difference in printing quality between polys vs. NURBS for Maya 3D models?
- Drawing NURBS Curves?
- OpenGL Nurbs: finding knot coordinates
Related Questions in RENDERMAN
- Imagemagick convert works on OpenEXR files with non-RGBA channel names
- RenderMan incident vector inconsistencies
- How to set parameters on pxrTexture node in Katana using python
- Python import error thrown when Renderman for Blender addon is enabled
- How do I store a camera visibility value into a user variable for Renderman in Katana?
- Standard Illumination Model for commercial renderers
- Python string wrong characters
- Environment variables for Pixar Renderman using ZSH in macOS Catalina
- TCL Checking Environment Variables
- Compiling a simple C program to render with Pixie( open source renderman)
- Rendering entities in Renderman
- RenderMan "rgba" display mode produces 3 channel image instead of 4?
- Is there a way to compare two 'bump' attributes from different shaders?
- How to read DTEX file format in Nuke?
- What does RiBasis which is described in RenderMan mean?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
RiCurve draws a cubic spline. The control points do not uniquely determine the curve; you also need the basis, which is expressed as a 4x4 matrix -- one matrix give the coefficients you need for a B-spline, Bezier, Catmull-Rom, and so on, and of course you can also supply the matrix yourself for some kind of hybrid interpolant that isn't quite one of the standard 3 or 4. The basis determines the character of the spline -- whether the curve is guaranteed to go through the control points or is merely approximating, the degree of continuity, the "tension", and so on.
There is a great discussion in one of the appendices of "The RenderMan Companion," including numeric examples of how different basis matrices affect the interpolation.
It sounds like you requested a B-spline basis, which is approximating (not interpolating) and continuous in both 1st and 2nd derivatives. Maybe that's not what you had in mind. It's hard to tell, since you didn't describe the properties of the spline that you were hoping for.
As an aside, approximating an arbitrary NURBS curve with a nonrational cubic is not always going to give you an exact match. Something else to keep in mind.