Hi All,
I am simulating rainfall over a terrain. The visualization of the simulation results in my ParaView GUI works, but once I use the trace I recorded in ParaView as a macro in ParaView, I am getting an error message I don’t understand.
The ParaView Version I am currently using is ParaView 5.13.1.
I am using the TextureMapToPlane Filter on the surface of my 2D-terrain to display a satellite picture of the terrain. When using the filter in my GUI it works perfectly, but when I start the recorded trace of the same sequence I get the following error message:
ERROR: In vtkOpenGLTexture.cxx, line 195
vtkOpenGLTexture (0x3acae910): No scalar values found for texture input!
The key part of my trace is the following:
# create a new 'Texture Map to Plane'
textureMaptoPlane1 = TextureMaptoPlane(registrationName='TextureMaptoPlane1', Input=warpByScalar2)
# Properties modified on textureMaptoPlane1
textureMaptoPlane1.Origin = [-424.5, -331.0, 0.0]
textureMaptoPlane1.Point1 = [424.5, -331.0, 0.0]
textureMaptoPlane1.Point2 = [-424.5, 331.0, 0.0]
# show data in view
textureMaptoPlane1Display = Show(textureMaptoPlane1, renderView1, 'GeometryRepresentation')
# trace defaults for the display properties.
textureMaptoPlane1Display.Representation = 'Surface'
# hide data in view
Hide(warpByScalar2, renderView1)
# update the view to ensure updated data information
renderView1.Update()
# a texture
satellite_clipped = FindTextureOrCreate(registrationName='satellite_clipped', filename='/home/...../satellite_clipped.png')
# change texture
textureMaptoPlane1Display.Texture = satellite_clipped
My guess is that ParaView has problems loading my PNG. I checked that the path I specified is correct. The code runs smoothly until “renderView1.Update()”
Does anyone have an idea what the problem might be?
Thank you so much in advance. I am looking forward to some answers.
Gesa
P.S. This is my first time in this Forum, so I hope I didn’t break any rules. I am also running ParaView on a Server where I have no admin rights, so I can’t change the ParaView Version easily.

