Displaying 20 results from an estimated 37 matches for "specular".
Did you mean:
secular
2008 Nov 21
2
rgl lighting question
...lot and I'm struggling to
get the lighting correct. Currently the surface gets plotted, but is
very 'shiny'. On rotating the view, I get to see parts of the surface
- but overall I don't see much detail because of the spotlight like
lighting.
I've played around with the specular, ambient and diffuse but I can't
bring out the details of the surface. Could anybody point me to some
examples of how to make a plain matte surface, which isn't obscured
by specular reflections?
Thanks,
-------------------------------------------------------------------
Rajarshi Guh...
2010 Sep 09
1
rgl and lighting
...on the viewpoint at theta=0 and phi=30:
> view3d(theta=0,phi=30)
Next, I want to create a 2nd light source which diffuses red light from the front face. I thought I could do:
>light3d(diffuse="red",theta=0,phi=0)
but...the front side doesn't show any red-iness. Same goes for specular and ambient.
What am I doing wrong here? How should the fron side show in red colour?
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk...
2015 May 01
0
Wine release 1.7.42
...draw/tests: Add more d3d7 lighting tests.
ddraw/tests: Port the lighting test to the previous d3d versions.
ddraw/tests: Fix ddraw2 test_lighting() cleanup code.
ddraw: Cleanup d3d_light_SetLight() a bit.
wined3d: Introduce D3D7+ normal matrix computation.
wined3d: Fix specular lighting for non-local viewer.
d3d9/tests: Add a specular lighting test.
wined3d: Drop glPrioritizeTextures() call.
wined3d: Drop the ARB_SHADER_OBJECTS extension flag.
wined3d: Rename struct wined3d_shader_buffer to wined3d_string_buffer.
wined3d: Reduce initial wined...
2005 Nov 26
1
Tomb Raider 4 and wine 0.9.1(DirectX 6.1)
...dwRenderStateType D3DRENDERSTATE_RANGE
(00000030) value : 00000000 !
err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_EXTEN
8a) value : 00000000 !
err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_VERTE
000097) value : 00000000 !
err:ddraw:set_render_state Specular Lighting not supported yet.
fixme:ddraw:Main_IDirect3DImpl_7_3T_EvictManagedTextures (0x7fef21a0/0x7fef
stub!
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fef21a0)->((nil),000000
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fef21a0)->(0x10022,0000
fixme:xrandr:X11DRV_XRandR_Set...
2007 Oct 08
2
Fill a polygon with a pattern
What is the simplest (namely: minimum number of libraries or conflicts)
way to fill a polygon with a pattern?
For example, suppose I have (in a graphic file, like a jpeg) the
drawing of an "X". Then I fill a polygon (like a triangle) with
this pattern, and get something like:
X
XXX
XXXXX
XXXXXXX
(where the border "X"s could be truncated).
I searched the rimage
2020 Oct 22
0
3d plot of earth with cut
...pi/180, 50, 50)
r <- 6378.1 # radius of Earth in km
x <- r*cos(lat)*cos(long)
y <- r*cos(lat)*sin(long)
z <- r*sin(lat)
open3d()
ids <- persp3d(x, y, z, col = "white",
texture = system.file("textures/worldsmall.png", package = "rgl"),
specular = "black", axes = FALSE, box = FALSE, xlab = "", ylab
= "", zlab = "",
normal_x = x, normal_y = y, normal_z = z)
clipFn <- function(coords) {
pmax(coords[,1], coords[,2]) # Just an example...
}
clipObj3d(ids["surface"], clipFn)
Fi...
2019 Mar 29
0
Wine release 4.5
...ltiple times for ddraw2.
ddraw/tests: Port test for adding the same light to viewports multiple times for ddraw1.
ddraw: Do not set ambient light component for d3d[1-4].
ddraw/tests: Test lighting with ambient light and material in ddraw2.
wined3d: Treat zero shininess as no specular lighting in legacy lighting mode.
d3d9/tests: Test specular lighting with zero shininess.
d3d8/tests: Test specular lighting with zero shininess.
ddraw/tests: Test specular lighting with zero shininess in ddraw7.
ddraw/tests: Test specular lighting with zero shininess in ddr...
2011 Jun 03
1
movie3d in rgl object 'movie' not found
...t;- matrix(seq(-180, 180, len=50)*pi/180, 50, 50)
r <- 6378.1 # radius of Earth in km
x <- r*cos(lat)*cos(long)
y <- r*cos(lat)*sin(long)
z <- r*sin(lat)
persp3d(x, y, z, col="white",
texture=system.file("textures/world.png",package="rgl"),
specular="black", axes=FALSE, box=FALSE, xlab="", ylab="", zlab="",
normal_x=x, normal_y=y, normal_z=z)
#I run the above, note the device ID and then enter the following with
rgl.cur(1) if my device ID is 1.
movie3d(par3dinterp(par3dsave(params = c("user...
2006 May 23
1
shapes in rgl
...rep(x,each=3)
y<-rep(y,each=3)
z<-rep(z-rad*2,each=3)
a<-seq(3,length(x),by=3)
y[a]<-NA
x[a]<-NA
z[a]<-NA
a<-seq(1,length(x),by=3)
z[a]<-0
lines3d(x,y,z,col="brown",size=5,add=T)
rgl.bbox(color="black", emission="lightgreen", specular="#3333FF",
shininess=5, alpha=0.8 )
}
x<-runif(100,0,100)
y<-runif(100,0,100)
z<-runif(100,10,30)
rad<-z/5
Trees3d(x,y,z,rad)
Thanks,
Duncan Golicher
--
Dr Duncan Golicher
Ecologia y Sistematica Terrestre
Conservaci?n de la Biodiversidad
El Colegio de la Frontera Sur
Sa...
2020 Oct 23
2
3d plot of earth with cut
...-180, 180, len = 50)*pi/180, 50, 50)
x <- r*cos(lat)*cos(long)
y <- r*cos(lat)*sin(long)
z <- r*sin(lat)
# Plot with texture
ids <- persp3d(x, y, z, col = "white",
texture = system.file("textures/world.png", package =
"rgl"),
specular = "black", axes = FALSE, box = FALSE, xlab = "",
ylab = "", zlab = "", normal_x = x, normal_y = y, normal_z
= z)
# Plot the plane across the longitude slice
#planes3d(a, b, c, d, alpha = 0.6) # optionally visualize the plane
# Apply clipping...
2020 Oct 23
0
3d plot of earth with cut
...x <- r*cos(lat)*cos(long)
> y <- r*cos(lat)*sin(long)
> z <- r*sin(lat)
> # Plot with texture
> ids <- persp3d(x, y, z, col = "white",
> texture = system.file("textures/world.png", package =
> "rgl"),
> specular = "black", axes = FALSE, box = FALSE, xlab = "",
> ylab = "", zlab = "", normal_x = x, normal_y = y, normal_z
> = z)
>
> # Plot the plane across the longitude slice
> #planes3d(a, b, c, d, alpha = 0.6) # optionally visualize t...
2020 Oct 21
6
3d plot of earth with cut
Hello,
Could someone suggest a package/way to make a 3D raster plot of the Earth
(with continent boundaries), and then make a "cut" or "slice" of it such
that one can also visualize some scalar quantity as a function of the
Radius/Depth across that given slice ?
Formally, I would have a given, fixed longitude, and a list of vectors
{latitude, radius, Value}
that would show
2020 Oct 22
0
3d plot of earth with cut
> It should be a 2D slice/plane embedded into a 3D space.
I was able to come up with the plot, attached.
My intention was to plot national boundaries on the surface of a sphere.
And put the slice inside.
However, I haven't (as yet) worked out how to get the coordinates for
the boundaries.
Let me know, if of any value.
And I'll post the code.
(But needs to be polished first)
2007 Feb 21
1
Installing Package rgl - Compilation Fails - FreeBSD
...2493091814311,
>> 0.94383621068530, -7.46953644668121, -1.98935169586337,
>> -0.155795506705329, 0.417941560199702, 1.02866050611420,
>> -0.41499456329968), y = NULL, z = NULL, color = "#000000", alpha =
>> numeric(0), lit = TRUE, ambient = "#000000", specular = "#FFFFFF",
>> emission = "#000000", shininess = 50, smooth = TRUE, front = "filled",
>> back = "filled", size = 2, fog = FALSE)
>> 4: do.call("rgl.points", c(list(x = x, y = y, z = z),
>> .fixMaterialArgs(..., Params...
2009 Feb 27
3
question about 3-d plot
Hi R Users,
I have produced a simulated scatter plot of y versus x tightly clustered
around the 45 degree line through the origin with the following code:
x <- seq(1,100)
y <- x+rnorm(100,0,10)
plot(x,y,col="blue")
abline(0,1)
Is there some way to generate a 3-dimensional analogue of this? Can I get a
similar simulated scatter plot of points in 3 dimensions where the points
2012 Apr 11
1
Guild Wars - Direct3D8 is not available without OpenGL.
...ge/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 449
trace:d3d:wined3d_adapter_init_gl_caps extension detection call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 2735
trace:d3d:match_allows_spec_alpha GL Implementation accepts 4 component specular color pointers
trace:d3d:match_broken_nv_clip GL_NV_vertex_program2_option result.clip[] test passed
trace:d3d:match_broken_nv_clip GL_NV_vertex_program2_option result.clip[] test cleanup call ok /var/tmp/portage/app-emulation/wine-1.5.1/work/wine-1.5.1/dlls/wined3d/directx.c / 690
trace:d3d:match_...
2020 Oct 22
2
3d plot of earth with cut
Thanks for your idea. It should be a 2D slice/plane embedded into a 3D
space. Could be static, I just need to make a single figure from it for
illustration of the Earth together with its interior in 3D. So, the
interior would be a slice in 2D along a fixed longitude. And along this 2D
slice would be a heatmap. Again, embedded in 3D, since it would be shown as
a slice of Earth in 3D.
Duncan?s
2010 Feb 05
5
White screen after some time in WoW
My problem:
After some time playing WoW (about 1-2 minutes) the whole screen turns white. Everything else seems to work perfectly, I still have sound and I still can interact with my character. I can even open a terminal (blindfolded) and type 'killall WoW.exe' to quit WoW and make the white screen go away.
wine --version outputs 'wine-1.1.37'
I use the propiertary nVidia drivers
2008 Dec 07
4
Gaming support with different hardware vendors (esp. ATI)
Hi all!
I recently got an ATI Radeon HD 3850 card and now noticed that with the
fglrx driver many games that look well in AppDB do not run properly on
this hardware (Supreme Commander ingame: flickering static garbage, Prince
of Persia SoT has several issues that completely garble ingame graphics).
Older games (not using shaders among other things) seem to run fine - need
to do more testing
2012 May 12
7
[Patches] mesa/nv30: Diverse set of patches that improve NV3x render quality V2
A reworked version of 3 out of 4 patches mentioned earlier.
[1/4]: Fixes nearly all piglit vertprog testcases, due to now being able to pass the results on to the fragment shader. V2: rename samplers to texcoords.
[2/4]: Fixes shader compiler assertion errors, as some source registers do not exist for certain operations. Fixes several piglit tests when mesa is compiled with --enable-debug
[3/4]: