fresnel

SciPy: What are the arguments in `scipy.special.fresnel(x[, out1, out2])`?

爷,独闯天下 提交于 2019-12-24 01:25:58
问题 I am trying to plot a clothoid function using SciPy. Here is the syntax for the Fresnel integrals but I cannot understand what are the arguments x , out1 , out2 in scipy.special.fresnel(x[, out1, out2]) ? Formulas in the description are about t and z , which are not in the function. 回答1: The arguments out1 and out2 are optional. You can use s, c = fresnel(x) The argument z shown in the docstring is the x argument. That is an unfortunate discrepancy--the docstring should be consistent with the

Three.js: Fresnel Shader - Color changing or env map blending

百般思念 提交于 2019-12-23 05:31:01
问题 I'm not a shader specialist, but I'd like to pass the color value to the shader that could maybe blended with the env map color. var shader = THREE.FresnelShader; // Thank you WestLangley for that trick var uniforms = THREE.UniformsUtils.merge( [ THREE.UniformsLib[ "lights" ], shader.uniforms ] ); uniforms[ "tCube" ].value = textureCube; var parameters = { fragmentShader: shader.fragmentShader, vertexShader: shader.vertexShader, uniforms: uniforms, lights : true }; shaderMaterial = new THREE

How to display RDF data described by Fresnel vocabulary?

廉价感情. 提交于 2019-12-08 04:28:20
问题 I am studying Semantic web while trying to create a simple single page application (SPA). The SPA should be able to display various rdf data (and also allow the user to create new ontologies in a user friendly way). I have full controll of the format of the ontologies (meaning I can state if they are represented as RDF/XML, ntripples, turtle etc. and also I can decide, if I want to use ontologies to describe how the data should be displayed). From what I read in the Fresnel Manual I think