Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5988723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:59:54+00:00 2026-05-22T22:59:54+00:00

I am writing a python script that parses a 3D model file from one

  • 0

I am writing a python script that parses a 3D model file from one format to another and noticed a problem when storing vertices. It seems like the same vertex could have different UV’s in different faces.

While writing the script I assumed all vertices would have unique UV’s, but now it seems like a false assumption.

Is there a general way to store faces and vertices?

It would’ve been nice if I had a dictionary for vertices that stores UV’s, normals, and coords (won’t be storing anything else for now) and a dictionary of faces that contain a list of vertices that make up the face, but it won’t work if a single vertex takes on different UV values in different faces.

I’ve been trying to avoid storing every single vertex (like storing the vertices with the faces rather than having references to the vertices) but can’t come up with a workaround.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:59:55+00:00Added an answer on May 22, 2026 at 10:59 pm

    If the vertex belongs to a shared edge between two faces, you need to store texture coordinates of both faces. I usually store these info at triangle level not at vertex level.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a script that logs errors from another program and restarts the program
I'm writing a python script that executes a csh script in Solaris 10. The
I am writing a python script (Linux) that is adding some shell aliases (writes
I am a Python newbie writing a Python (2.7) script that needs to exec
I'm writing a simple Python CGI script that grabs a webpage and displays the
I'm writing a functional test for a legacy Python script so that I can
I'm writing a script in Python 3.1.2 that logs into a site and then
I am currently writing a Python script for use on Linux machines that will
I'm writing a Python script that reads tweets and inserts them into MySQL. Depending
I'm writing a python script that scrapes a website, where the website uses OpenID

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.