RenderMan & RISpec >> MTOR not copying some parameters

by thad beier » Wed, 15 Jun 2005 06:35:55 GMT

I'm at my wits end, and I was hoping that somebody might have seen this
before.

We are doing very straightforward work with Maya, MTOR, and RenderMan.
For some reason, for some of our shaders, some of the time, a few of
the parameters do not get copied into the RIB files correctly.

When running mtor_maya5 explicitly from the shell the erros is
repeatable. Using the mondo shader in the rat library, the abColorMap
parameter is never copied into the rib. The abDiffuseMap parameter, on
the other hand, does appear to be copied correctly every time.

There are no error messages that I can see. All files exist that
should exist, and if I hand-patch the RIB file the images render
correctly.

As I said, I'm at my wits end. If anybody has seen anything like this,
I'd love to hear about it.

Thad Beier
Hammerhead Productions


RenderMan & RISpec >> MTOR not copying some parameters

by Dave Nunez » Thu, 16 Jun 2005 10:37:35 GMT


Hi Thad, is the value of the parameter not being copied (ie, the string
pointing to your textures) ?or the parameter in general (abColorMap) ?

Dave

RenderMan & RISpec >> MTOR not copying some parameters

by thadbeier@gmail.com » Tue, 21 Jun 2005 15:15:48 GMT

I was using the Mondo shader. When running mtor_maya5 to generate a
rib, the abSpecular and abDoDisplacement parameters were not being
copied to the rib file. If there were multiple Mondo shaders,
different parameters would be left out. It was a mess.

Apparently it is a bug in rat-5.5.1 that is fixed in more recent rat
versions. We're upgrading to those, and it appears that it works
perfectly.

Various and sundry workarounds were attempted, but in the end it was
cheaper and more reliable to just get the version that works.

Thad Beier
Hammerhead Productions

Similar Threads

1. requested parameter not found in the repository

2. "Requested Parameter Not Found in the Repository" ??

3. Graphics.DrawImage breaks with "Parameter is not valid" - .NET Windows Forms

4. Graphics.FromImage Error Parameter is not valid

Hi,

A dialog form (DialogForm) contains a picture box (myPictureBox).
On load of the dialog form, I draw a 2D pie diagram in that picture box. The 
data for the diagram comes from the the column [Percentage] in a SQL Server 
database tabel.

I get the "Parameter is not valid" error on the dlg.ShowDialog() command:



Dim dlg As New DialogForm
dlg.ShowDialog()


Private Sub DialogForm_Load(ByVal sender As System.Object, ByVal e As 
System.EventArgs) Handles MyBase.Load
	Draw2DPie(myPictureBox)
End Sub


Private Sub Draw2DPie(ByRef aPictureBox As PictureBox)
	Dim bmp As New Bitmap(aPictureBox.Width, aPictureBox.Height, 
Imaging.PixelFormat.Format32bppArgb)
	Dim g As Graphics = Graphics.FromImage(bmp)
	Dim penGraph As New Pen(Color.Black, 2)
	Dim brushGraph As New SolidBrush(Color.Red)
	Dim topGraph As Integer = 0
	Dim leftGraph As Integer = 0
	Dim widthGraph As Integer = aPictureBox.Width
	Dim heightGraph As Integer = aPictureBox.Height
	
	g.Clear(BackColor)
	Dim startAngle As Single = -90.0
	Dim sweepAngle As Single = 0.0
	For nIndex As Integer = 0 To ds.Tables(0).Rows.Count - 1
		sweepAngle = 360 * CType(ds.Tables(0).Rows(nIndex).Item("Percentage"), 
Single)
		g.DrawPie(penGraph, leftGraph, topGraph, widthGraph, heightGraph, 
startAngle, sweepAngle)
		g.FillPie(brushGraph, leftGraph, topGraph, widthGraph, heightGraph, 
startAngle, sweepAngle)
		startAngle += sweepAngle
	Next
	penGraph.Dispose()
	brushGraph.Dispose()
	g.Dispose()

	aPictureBox.Image = bmp
	bmp.Dispose()

End Sub


Anybody an idea what causes that error?
Thanks

-- 
RW

5. Gimp 2.4 does not resize to copied image

6. can not copy coordinates of mouse position

hello,
i desperately try to get a copy or see a label of the mouseposition in
a 3d plot.
i know it might be difficult for a 3d plot, but i only need the
coordinates of x and y.
mouse is on and with doubleclick i should get a copy of the
coordinates. i do use gnuplot 4 on windows xp. command is splot on
scattered data -> so i additionally set dgrid3d to get a colored plot.

can someone help?
thanx in advance

7. copy & paste function not working

8. FA: Adobe Acrobat 7 Standard and Illustrator CS2 - FULL, NOT OEM or COPY