Questions tagged [vertex]
A vertex is a single point in a 3D object, used for simple model creation or advanced animation systems.
759
questions
2
votes
0
answers
45
views
+50
ksqlDB Java Client unable to surface connection exception
I'm using
implementation ('io.confluent.ksql:ksqldb-api-client:7.3.1')
and I'm running into issues throwing exception on connection loss on the code below
@Override
public <T> Flux<T> ...
0
votes
0
answers
21
views
API gateway config file to call backend service URL
I'm trying to call a Vertex AI endpoint from an API Gateway, but I'm getting a null response when calling the API Gateway URL. I have the following configuration file:
swagger: "2.0"
info:
...
0
votes
0
answers
14
views
What does "percentile cropping" do to Meshlab colorizing by vertex quality?
I am creating a distance colormap, comparing two meshes. I applied Distance from Reference Mesh, and I am confused as to what the slider of the "percentile cropping" does when I pull up ...
-2
votes
0
answers
47
views
OpenGL Buffer Creation Speed
#include "main.h"
unsigned int vertexArrayID;
float vertices[] =
{
7.0f, 0.3f, 9.0f,
5.0f, 0.0f, 3.258f,
4.0f, -5.0f, 4.7f
};
unsigned int indices[] =
{
0, 1, 2,
2,...
1
vote
1
answer
34
views
If several different Vertex Buffers are bound to different input slots of the D3D11 pipeline, which one is used by the Draw() call?
Two somewhat related questions, really.
FIRST: If I have different - and differently sized - Vertex Buffers A and B bound to the pipeline input slots 0 and 1, then which one of them will be used in ...
0
votes
0
answers
8
views
Graph-tool: How to access vertex index based on vp property
I'm trying to get vertex index based on a property by applying graph_tool.util.find_vertex function.
Applying find_vertex(g, prop, label) return me [<Vertex object with index '2' at 0x7f21e19b2820&...
0
votes
1
answer
40
views
how to transfer vertices color to mesh from point cloud
I want to ask how can I transfer vertices color from point cloud to mesh.
I have a procedure where I transfer a point cloud to a mesh and the mesh is back visualized as a point cloud using three....
0
votes
0
answers
55
views
Joblib ValueError when using multiprocessing on Python3.7 kernel in Vertex AI
I have been struggling for a few weeks with a recurring error. It appears in various contexts whenever I use multiprocessing with various packages. Here is an example of this error when I try using ...
-1
votes
1
answer
76
views
Updating vertex buffer via staging buffer causes my application to error out
I was able to update my vertex buffer using the vkCmdUpdateBuffer method, while following the solution to a similar problem asked in this stack thread. However, I am struggling to implement the ...
0
votes
1
answer
85
views
403 Error Permission Denied on BigQuery while trying to access table from custom container on vertexAI
We are trying to deploy a custom container on vertexAI, below you find the part where we call the bigquery table in our python task :
from google.cloud import bigquery
import numpy as np
import pandas ...
0
votes
1
answer
52
views
C++ opengl instancing color PER vertex (THREE unique colors per triangle)
Overview: I am trying to make the leap from draw calls to instancing. I want to maintain control over individual vertex colors.
Working materials: C++, OpenGL, Macos. I am working with three quads. ...
0
votes
1
answer
99
views
Error on Zone not having enough resource available! but selecting all other zones will lead to this error
When I want to create user-managed notebook in vertex's workbench, every zone that i would select, there would be this error:
*tensorflow-2-6-20230629-002759: The zone 'projects/qwiklabs-gcp-04-...
0
votes
0
answers
5
views
Interpolating the position of pixels within a shape, given the movement of the shape's vertices
I'm trying to write an algorithm that can mock-simulate the earth's plate tectonics, given two 'snapshots' of the position of tectonic plates in history.
For example we have the image used to define ...
0
votes
1
answer
57
views
Curious about Implementing Index Buffer Objects with texture indices
This is something I have been struggling with a bit. I even went out of my way to try and implement my own indexing system, which turned out to be sub optimal in the end.
But I finally think I got it. ...
1
vote
0
answers
15
views
Vertex with MySQLPool giving error 'AnnotatedConnectException -> finishConnect(..) failed: Connection refused:' in Java application
We are using vertex Mysql pool to connect with MySQL DB and trying to fetch the data in java application with Java17. Sometime It giving us the below errors:
***1. AnnotatedConnectException -> ...
0
votes
1
answer
23
views
How can I add motion to a masked p5.js vertex object within a class?
I am a beginner coder and am trying to create a p5.js for an assessment piece. I have created this car shape using the vertex() function and have placed a mask over it. I would like to have the car ...
0
votes
1
answer
36
views
How to translate, append, and loop vertices to create a WebGL mesh?
I can generate a cube in WebGL using a simple vertices array. I want to generate a larger cube comprised of many of the smaller cubes. What is wrong with my programmatic approach to this and/or with ...
0
votes
1
answer
67
views
OBJ Line Reader
I want to read an OBJ file in Lua. I am new to the file writing/reading system in Lua and wouldn't know how I would do that.
What I want to do:
I want to read each line and see if the line starts with ...
0
votes
0
answers
10
views
How to know which shape should be rendered first?
Question
I have two sets of vertices resembling a quad as a 2D array like so:
[
[-4.88962039, 18.43587572, 1.10004488],
[ 4.99465568, 18.43587572, -0.4146093 ],
[ 4.93547185, 20.39600888, ...
0
votes
0
answers
14
views
What's the easiest way to sketch a directed graph?
What's the easiest way to sketh a directed graph as shown here:
There are a lot of software which you can sketch graphs but I haven't found any with edges with an arrow head in the middle as shown in ...
1
vote
1
answer
584
views
How to install and use Python 3.9+ in Vertex AI using Docker?
So I am working in an external organization's GCP project, and the policy is that there is no public internet access available. I want to use some Python modules that are not contained in the DL ...
1
vote
1
answer
150
views
How to get the center vertex position of all the faces of BoxGeometry in threejs?
I have a BoxGeometry here, which forms a cube,
what i want to acheive is to get the center vertex position of all the faces of the cube?
const boxGeometry = new THREE.BoxGeometry(1.5,1.5,1.5,2,2,2);
...
0
votes
0
answers
221
views
Google Vertex AI query _InactiveRpcError:
I am trying to query google vertex ai match service. My implementation is inspired by https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/community/matching_engine/...
0
votes
0
answers
98
views
Sprite vertex color on individual instances
I'm trying to assign vertex colors to Sprite, different for each instance.
I've managed to write a script that sets vertex colors for Sprite mesh:
private void SetVertexColors(Color32[] _vertexColors, ...
0
votes
1
answer
99
views
DXF acces points from a polyline (python)
I have a dxf files and I wan't to search points from a polyline in python.
However, my files sections are differents than a dxf than I succeded to display points.
I explain :
In the dxf I succeded, ...
0
votes
0
answers
41
views
print layer and vertex of DXF file in python
I try to display layers (Sew Lines and Pattern Perimeter) from a dxf file.
As a matter of fact, some points of these layers are exactly at the same place : so I wan't to remove some points of one of ...
0
votes
1
answer
93
views
How do you read the vertex buffer in the fragment shader?
I am trying to read my vertex data in the fragment shader to try some rendering experiments. It is possible to do this, and if so, what is the best way?
My guess is that buffer views are meant to be ...
0
votes
0
answers
41
views
How to determine the 3d shape formed by intersecting planes
Question
How can I optimally get the list of vertices for the 3d shape (a convex hull) formed by a set of intersecting planes in 3d space that contains all feasible solutions. Assuming that a 3d shape ...
0
votes
0
answers
53
views
How to specify signature of model in Vertex AI batch prediction
I uploaded TF universal-sentence-encoder-qa to Vertex and want to use this model to embed some question and answer data.
This model has two signatures - question_encoder and answer_encoder
My question ...
0
votes
1
answer
176
views
Vertex AI AutoML Batch Predict returns prediction scores as Array Float64 in BigQuery Table instead of just FLOAT64 values>
So I have this tabular AutoML model in Vertex AI. It successfully ran batch predictions and outputs to BigQuery. However, when I try to query the prediction data based off of the score being above a ...
1
vote
1
answer
61
views
Drawing no intersected polygon with dragging vertexes
I'm trying to draw a polygon without intersecting.
Below is good example which I want to.
Bad example what I want to prevent.
If I choose red dot one, then what algorithm I can apply to prevent the ...
0
votes
1
answer
55
views
igraph in R: Missing edges when merging 2 graphs
I have made 2 distinct network in igraph and want to merge them into one graph. Each edge of each individual graph needs to be present in the combined graph, but there are multiple edges that are ...
0
votes
0
answers
32
views
igraph in R: saving as .eps places black boxes around the spherical vertices
I have made a network in igraph and need to save it as a .eps file. However, when it is saved, there are black boxes in the background for each vertex. How can I remove the black boxes?
A reproducible ...
0
votes
0
answers
112
views
Get pixel colors of a meshtriangle from its texture
Using Trimesh library (https://github.com/mikedh/trimesh),I'm trying to get the pixel colors of a mesh triangle from the texture loaded with the 3D mesh (.obj + .png +.mtl). In other words, given a ...
1
vote
1
answer
330
views
igraph error in R with vertex.size : longer object length is not a multiple of shorter object length
I am using the package igraph in Rto be able to plot a network. However, once I pass the command vertex.size in the graph function, it does 2 things. 1) it removes a few of the edges and directed ...
0
votes
1
answer
694
views
select color attributes via python in blender
Is it possible to select color attributes in blender with python? Idea is to do the same like clicking on the vertex color in viewport. The goal is to make the colors visible in the viewport.
My ...
0
votes
1
answer
68
views
Error with netlogo gis extension vertex-lists-of
I want to extract points from line feature from shapefile.
I have search for solutions, it shows that most of people use gis:vertex-lists-of to do this.
For example,
However I got an error message ...
0
votes
0
answers
126
views
Clipping a 3d triangle with one vertex behind the camera
I'm working on a 3D renderer in MS-DOS in C, and I'm trying to fill 3D triangles onto the screen.
Here's a screenshot of it working.
It works fine, but when one vertex is behind the near clipping ...
0
votes
1
answer
52
views
How do i output the city/distance of the layover city the user has provided?
So i have a program that represents airline flights. Given the layover city that the user has provided, i need to show all the nodes the selected city is connected to along with the total distances. I ...
1
vote
1
answer
143
views
Isn't a quad always composed of 4 vertex?
I'm getting into OpenGL. I'm following learnopengl.com and I reached the text rendering part, where I read (at the end of In Practice > Text Rendering > Shaders section)
The 2D quad requires 6 ...
1
vote
0
answers
143
views
Error of invalid vertex names on induced subgraph igraph in R
I kept getting on this error: Error in as.igraph.vs(graph, vids) : Invalid vertex name(s); while trying to induced subgraph. I did it on different vertices attribute, and managed to get the intended ...
0
votes
0
answers
274
views
How to write JSONL for Vertex AI to make batch prediction without coding
I have built model and deployed it for text classification on Vertex AI. I am not expert in coding so I want to utilize the friendly interface which is offered by google. The problem I have to uploade ...
0
votes
0
answers
16
views
io.vertx » vertx-core » 4.3.4 and com.englishtown.vertx » vertx-hk2 » 2.5.0 are not compatible
I'm getting deployment issues with io.vertx » vertx-core » 4.3.4 and com.englishtown.vertx » vertx-hk2 » 2.5.0 in createVerticle(..)
As per io.vertx » vertx-core » 4.3.4, the definition of ...
0
votes
1
answer
187
views
Changing the z-coordinate of one of vertex in Polyline3d
Please somebody help. Why it does not work?
I have Polyline3d in AutoCAD and the target coordinations to move one of vertex on it. But is does not work. No error, all is clear. But vertex does not ...
0
votes
0
answers
25
views
Automatically detect if vert intersects with an edge
I work with cad models imported to blender and they always suffer from bad geometry.
I'm looking for a way of automatically detect if vert intersects with an edge and join these two together.
To ...
1
vote
0
answers
289
views
Unity: How to edit vertex after skinned mesh animation has been applied
As a test im trying to move an animated skinned mesh up and down per vertex but it doesnt really work.
without offset
with offset 1 in the y
Im fairly certain that the vertices im changing are before ...
0
votes
2
answers
337
views
How to get the value of explanatory variable at the point where the response variable is at its maximum? (R)
I have a multivariate binomial GLM with one quadratic (dist_Roads) and multiple linear terms:
GLM <- glm(formula = Presence ~ dist_NP_boundary + dist_Villages + dist_Water + dist_Grassland + ...
0
votes
1
answer
173
views
How to get the vertex value of quadratic term in GLM in R?
I have a quadratic term in a GLM and I am interested in the vertex value (+ the standard error and confidence interval of the vertex) of the quadratic term. To my knowledge, there is no automatic ...
1
vote
0
answers
64
views
how can i use lighting from vertex color and a texture at the same time
My model is lighted in 3ds max with the lighting baked on vertex color, on the other hand a texture is tiling along the model.
So, how could I mix both vertex lighting and texture sampling?
0
votes
1
answer
81
views
TinkerPop Cant detect vertices with same label and add if not abscent
Hi so i am using thee following code :
public Graph graph ;
private HashMap<String, Node> nodes ;
private HashMap<Node, Double> inDegree = new HashMap<Node, Double>();
...